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 88f6fe1 commit f2c1442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.php
Expand Up @@ -4,12 +4,12 @@
$years = array('1955');
for ($mainpage = 0; $mainpage < sizeof($years); $mainpage++)
{
$RecordLoop = 1;
$RecordLoop = 0;
$RecordFlag = true;
while($RecordFlag == true)
{
$RecordLoop += 1;
$linkabc = 'http://supremecourtofindia.nic.in/php/case_status/case_status_process.php?d_no='.$RecordLoop.'&d_yr='.$years[$mainpage];
$linkabc = 'http://supremecourtofindia.nic.in/php/case_status/case_status_process.php?d_no='. $RecordLoop .'&d_yr='.$years[$mainpage];
$htmlcheck = file_get_html($linkabc);
$checking = $htmlcheck->find("h5[plaintext^=Diary No]",0);
echo $checking;
Expand Down

0 comments on commit f2c1442

Please sign in to comment.