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 cb924e8 commit b54a6ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper.php
Expand Up @@ -11,11 +11,12 @@
$html = file_get_html($link);
$not = $html->find("font[plaintext^=Case Not Found]",0)->plaintext;
echo "$not\n";
$record = array( 'check' =>$check, 'link' => $link);
scraperwiki::save(array('check','link'), $record);
/*while ($not != "Case Not Found")
{
$check = $html->find("h5[plaintext^=Diary No]",0)->plaintext;
$record = array( 'check' =>$check, 'link' => $link);
scraperwiki::save(array('check','link'), $record);
echo "$check\n";
$x++;
}*/
Expand Down

0 comments on commit b54a6ae

Please sign in to comment.