Originally posted by Thunderoo
So it lets the page load and scrapes the html; is there a play id in this that i'm missign?
I don't actually scrape the HTML for GLB2. I've been using this:
http://glb2.warriorgeneral.com/game/replay/25245/1678954/1 (notice the "/1" after the play address). The page lists the roster, then all the movements, then the descriptive stuff down at the bottom and is much easier to parse than the raw HTML. It contains the actual play id's rather than just the name.
The one problem I know it has that you might run into is the line of scrimmage is given in pixels. There's no formatted version to show the yard line, hence why the dotball script will show 1st and 10 at the 721 yard line. I've yet to write anything to calculate the yard line from the pixel address.