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 ce63f90 commit 3c0f652
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scraper.php
Expand Up @@ -9,10 +9,17 @@
{
$FinalURL = $BaseLink . $PageLoop;
$Html = file_get_html($FinalURL);
$RowNumb = -1;
if ($Html) {
// Paginate all 'View' buttons
foreach ($Html->find("//*[@id='tablePerkaraAll']/tbody") as $element) {
echo $element;
$RowNumb += 1;
if ($RowNumb != 0) {

$No = $element->find('./td[1]', 0);
echo $No;

}
}
}
}
Expand Down

0 comments on commit 3c0f652

Please sign in to comment.