Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
vikash12345 committed Oct 5, 2017
1 parent b228130 commit 848c3c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scraper.php
Expand Up @@ -45,8 +45,7 @@ function dlPage($href) {


foreach($maincode->find("//*[@id='employee_list']/tbody[1]/tr") as $element) {
if($element != null)
{

$a = $element->find("td", 0)->plaintext;
$b = $element->find("td", 1)->plaintext;
$c = $element->find("td", 2)->plaintext;
Expand All @@ -67,7 +66,7 @@ function dlPage($href) {
*/

scraperwiki::save_sqlite(array('case'), array('case'=> $c));
}



}
Expand Down

0 comments on commit 848c3c7

Please sign in to comment.