Jump to content
UBot Underground

How to scrape table data?


Recommended Posts

Hello...

 

New user here. So far, I'm very impressed with uBot Studio, but there's one thing that's got me stumped. How would I go about scraping the Player Summary data here: Player Summary

 

I've watched Aaron's videos and I've not found one that pertains to scraping table data. It's probably a noob thing and I'm gonna feel really foolish once it's pointed out how to do it.

 

Any help greatly appreciated.

Link to post
Share on other sites

Thanks for the quick response hannahmcintyre.

 

I realize now I should have been a little clearer in my first post.

 

I tried your suggestion and I don't think it's going to work for my needs, although I appreciate the suggestion.

 

I'd like to scrape each row of data in the Player Summary table that appears about halfway down this page and save the individual items (G, A, +/-, SOG etc) to a csv file. One row for each of the players.

 

Cheers

Link to post
Share on other sites

You just need to scrape the whole table. Then write it to a comma separated CSV adding how ever many columns per each row. So you would just need to count how many columns there are then start the next row after that.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...