Get contents of a div from a URL
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/26947/how-to-implement-a-web-scraper-in-php">How to implement a web scraper in PHP?</a><br>
  <a href="http://stackoverflow.com/questions/3577641/how-to-parse-and-process-html-with-php">How to parse and process HTML with PHP?</a>  </p>
</blockquote>



<p>I need to crawl through a page and get the contents of a particular div. I have php and javascript as my two main options. How can it be done?</p>
