Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vikash12345 committed Feb 15, 2018
1 parent 2cb61e7 commit 881181e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scraper.php
Expand Up @@ -22,10 +22,14 @@
$link = 'http://supremecourtofindia.nic.in/php/case_status/case_status_process.php?d_no='.$loop.'&d_yr='.$years[$mainpage];
$html = file_get_html($link);
$check = $html->find("h5[plaintext^=Diary No]",0)->plaintext;
$loop++;
if($check)
{
$record = array('link' => $link , 'check' =>$check);
scraperwiki::save(array('link','check'), $record);
echo "$check\n";
$loop++;

}


}
Expand Down

0 comments on commit 881181e

Please sign in to comment.