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 9, 2018
1 parent daf6fb7 commit 6b471ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.php
Expand Up @@ -10,7 +10,7 @@
$html = file_get_html($linkabc);
$check = $html->find("h5[plaintext^=Diary No]",0)->plaintext;
$x = 1;
while($check != null || $check != "")
while($check != "")
{
$link = 'http://supremecourtofindia.nic.in/php/case_status/case_status_process.php?d_no='.$x.'&d_yr='.$years[$mainpage];
$html = file_get_html($link);
Expand Down

0 comments on commit 6b471ed

Please sign in to comment.