ThumbDog 0 Posted January 24, 2010 Report Share Posted January 24, 2010 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. Quote Link to post Share on other sites
hannahmcintyre 2 Posted January 24, 2010 Report Share Posted January 24, 2010 I'm not sure this will work because I don't really scrape anything, but you should be able to right click the table you want to scrape, at the top where it might say "TD", hover your mouse over that and choose "TABLE", then choose by attribute and $scrape. Quote Link to post Share on other sites
ThumbDog 0 Posted January 24, 2010 Author Report Share Posted January 24, 2010 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 Quote Link to post Share on other sites
Aaron Nimocks 19 Posted January 24, 2010 Report Share Posted January 24, 2010 You can do that then by following this video on how it saves table data to a CSV. http://vimeo.com/6805724 Quote Link to post Share on other sites
ThumbDog 0 Posted January 25, 2010 Author Report Share Posted January 25, 2010 Thanks Aaron... I'd actually viewed that video before - I just didn't know to apply it to "writing rows of data" to a csv. Cheers Quote Link to post Share on other sites
Aaron Nimocks 19 Posted January 25, 2010 Report Share Posted January 25, 2010 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. Quote Link to post Share on other sites
ThumbDog 0 Posted January 25, 2010 Author Report Share Posted January 25, 2010 Hello again... That video did the trick Aaron. Thanks again for your assistance. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.