Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vikash12345 committed Sep 5, 2017
1 parent a07cb25 commit 483c991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.php
Expand Up @@ -17,14 +17,14 @@

$RowNumb += 1;
if ($RowNumb != 0) {
echo $Link = $element->find('./td[8]/a', 0)->href;
$Link = $element->find('./td[8]/a', 0)->href;
$Html->clear();
unset($Html);
$DetailPg = file_get_html($Link);

if($DetailPg)
{
$name = $DetailPg->find("//*[@id='tableinfo']/tbody/tr[2]/td[1]")->pliantext;
echo $name = $DetailPg->find("//*[@id='tableinfo']/tbody/tr[2]/td[1]")->pliantext;
}


Expand Down

0 comments on commit 483c991

Please sign in to comment.