diff --git a/scraper.php b/scraper.php index f27f895..c1da01a 100644 --- a/scraper.php +++ b/scraper.php @@ -27,7 +27,7 @@ foreach($mainpage->find("/html/body/center/table/tbody/tr[2]/td[2]/div/div[2]/table/tbody/tr/td[2]/div/div[4]") as $element) { $linkofinnerpages = $element->find("//td/a[plaintext^=View Company Profile: Additional Detail of Product and Services]",0)->href; - echo $linkofinnerpages.'
'; + echo "$linkofinnerpages\n"; } }