-5

Possible Duplicate:
Scrape web page contents
How to scrape all content from a website?

I'm trying to scrape some boxscore data from the site covers.com and for the life of me I can't figure out how to do it. I want to get boxscores from a certain date but the page defaults to a viewstate of today's games when I use file_get_html from the simplehtmldom package. Any ideas on how to get the url for a certain days games? Thanks in advance!

1

1 Answer 1

1

Just loading the HTML page won't help you there. Most of the data is pulled in via AJAX. To find out under which URLs use Firebug or Dragonfly. Look at the network requests tab, and observe resources and request parameters.

(Obligatory hint that you should have permission to scrape data, unless its for a science and non-commercial purposes.)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.