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 e7e19a5 commit 6f928a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scraper.php
Expand Up @@ -11,15 +11,15 @@
$RecordLoop += 1;
$linkabc = 'http://supremecourtofindia.nic.in/php/case_status/case_status_process.php?d_no=.$RecordLoop.&d_yr='.$years[$mainpage];
$htmlcheck = file_get_html($linkabc);
if($checking){

$checking = $htmlcheck->find("h5[plaintext^=Diary No]",0)->plaintext;
echo "$checking\n";
if (!$checking)
if (!$checking)
{
$RecordFlag = false;
break;
}

else{
echo $checking;
$record = array('link' => $linkabc , 'check' =>$checking);
scraperwiki::save(array('link','check'), $record);
}
Expand Down

0 comments on commit 6f928a7

Please sign in to comment.