Hi I am very new to screen scraping. I am trying to scrape reviews from a hotel booking webite to display on to mine..
Ive got this far but got a bit stuck. Can anyone h
use DomDocument
loadHTML(file_get_contents(URL)); $summary = $doc->getElementById('summary'); // also have $doc->getElementsByTagName , etc var_export($summary); ?>
Also, for more complicated queries you should consider looking into XPATH (uses jQuery-like syntax)