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 513345d commit 1b1cb99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scraper.php
Expand Up @@ -16,13 +16,14 @@
$checking = $htmlcheck->find("h5[plaintext^=Diary No]",0)->plaintext;
$name = $htmlcheck->find("h5[2]",0)->plaintext;
$dairyno = $htmlcheck->find("//*[@id='collapse1']/div/table/tbody/tr[1]/td[2]/div",0)->plaintext;

$cno = $htmlcheck->find("//*[@id='collapse1']/div/table/tbody/tr[2]/td[2]/div",0)->plaintext;


scraperwiki::save_sqlite(array('num'), array('num' => $checking,
'link' => trim($linkabc),
'name' => trim($name),
'dairyno'=> trim($dairyno)
'dairyno'=> trim($dairyno),
'cno'=> trim($cno),
));
}

Expand Down

0 comments on commit 1b1cb99

Please sign in to comment.