Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
removed _s
  • Loading branch information
khanzanicdecay committed Jun 18, 2014
1 parent c062b14 commit d2850c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.php
Expand Up @@ -39,7 +39,7 @@ function parseBrands(){

$this->brands[] = $b;

scraperwiki::save_sqlite(array("id"=>$b['id']), $b, "cell_brand");
scraperwiki::save_sqlite(array("id"=>$b['id']), $b, "cellbrand");

}

Expand Down Expand Up @@ -79,7 +79,7 @@ function parseModelsPage($brandId,$brandName,$page){
$temp = explode('-',$el->href);
$m['id'] = (int) substr($temp[1], 0, -4);

scraperwiki::save_sqlite(array("id"=>$m['id']), $m, "cell_model");
scraperwiki::save_sqlite(array("id"=>$m['id']), $j, "cellmodel");

$this->models++;

Expand Down

0 comments on commit d2850c9

Please sign in to comment.