Forum Discussion

bidgeir's avatar
bidgeir
Most Valuable Professional
10 years ago

Scraping webpage with multiple tables problem

Hi all

 

I was trying to scrape the below webpage for data. The webpage has multiple tables on the page and Power Query recognizes that. However it only seems to recognize the tables that have multiple lines so it will miss quite a few of them. If you look at the webpage the first table has several lines and is picked up well while the next two have one line each and are omitted. I have tried to go through the HTML on the page and it seems to me that the tables with one line are constructed in the same manner as the bigger ones.

 

Has anyone noticed this? Is it something I’m missing or is this a genuine problem? 

 

http://www.premierleague.com/content/premierleague/en-gb/matchday/results.html?paramClubId=ALL&paramSeasonId=2014&view=.dateSeason

2 Replies

  • vinter's avatar
    vinter
    Frequent Visitor

    You are not missing something. I observe the same problem from that webpage.

     

    The solution is using this instead ;)

    • bidgeir's avatar
      bidgeir
      Most Valuable Professional

      Thanks for the reply.

       

      I completely forgot to check this for replies thats why I'm replying so late. 

       

      I don't think the solution is to use another page. I would rather know why it isn't working with the one I use. It makes no sense that the tables with one line are omitted.

       

      I cannot use the one you point to as I need the time as well as the date of the games :-)