benthomasg1 Posted October 7, 2010 Share Posted October 7, 2010 I have a sports site, but I would like the site to be able to go out to another website (like ESPN) and get the scores from football games so I can do the math on the scores to see who one and then save the winner. What I need help with is what I need to do to be able to go out to ESPN to get these values? Like I don't even know where to start? Link to comment https://forums.phpfreaks.com/topic/215367-not-sure-what-to-do/ Share on other sites More sharing options...
BlueSkyIS Posted October 7, 2010 Share Posted October 7, 2010 you want to scrape the ESPN site for scores. assuming they don't provide an XML feed that you could download, you'll have to write code to download web pages and parse the files. i suggest looking for info/tutorials on PHP scrapers, but this isn't a task for a new programmer. here is one article: http://vision-media.ca/resources/php/create-a-php-web-crawler-or-scraper-5-minutes Link to comment https://forums.phpfreaks.com/topic/215367-not-sure-what-to-do/#findComment-1119949 Share on other sites More sharing options...
litebearer Posted October 7, 2010 Share Posted October 7, 2010 some places to look http://www.oooff.com/php-scripts/basic-php-scraped-data-parsing/basic-php-data-parsing.php http://www.thefutureoftheweb.com/blog/web-scrape-with-php-tutorial http://www.bradino.com/php/screen-scraping/ Link to comment https://forums.phpfreaks.com/topic/215367-not-sure-what-to-do/#findComment-1119951 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.