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 0348a90 commit 94a3446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.php
Expand Up @@ -12,8 +12,8 @@
$html = file_get_html($link);
$check = $html->find("h5[plaintext^=Diary No]",0)->plaintext;

record = array('check' =>$check);
scraperwiki::save(array('check'), $record);
record = array('check' =>$check,'link' =>$link);
scraperwiki::save(array('check','link'), $record);
$x++;
}
while ($check == "" || $check == null);
Expand Down

0 comments on commit 94a3446

Please sign in to comment.