diff --git a/scraper.php b/scraper.php index ad609e1..d0891a1 100644 --- a/scraper.php +++ b/scraper.php @@ -12,7 +12,7 @@ foreach($NEWLINK->find("//*[@id='view']/ol/li/p")as $element) { - $links = $element->find("a",0)plaintext; + $links = $element->find("a",0)->plaintext; echo "$links \n" }