I need a stand-alone program that will web scrape college football box scores from the internet and save to a text file. I need the date, home team, away team, and the SCORE BY QUARTER for a selected week and year - for division 1A.
The program should allow me to pick YEAR and WEEK and then go to the web to scrape (Example Web Scrape Input) and generate a text file (Example Text File Output). Realize most games have 4 quarters of scores, but some go into overtime and may have 5, 6, 7, or more box scores.
Example Web Scrape Input:
[login to view URL] (2010, week 2, Division 1A) - using this website as the "input", I would need output like this:
Example Text File Output:
11/09/2010, Central Michigan, 0, 0, 7, 3, 0, Temple, 0, 7, 3, 0, 3
11/09/2010, Auburn, 7, 10, 0, 0, Mississippi State, 7, 0, 7, 0
11/10/2010, West Virginia, 3, 0, 3, 15, 3, Marshall, 7, 7, 0, 7, 0
.
.
.
11/10/2010, Virginia, 0, 7, 0, 7, Southern California, 0, 14, 0, 3
-------------------------
The text file should be named [login to view URL] - for this example, [login to view URL] should be the file name.
-------------------------
The web scraping does not have to come from [login to view URL], but should be from a major website with predictable URLs.