From d2850c95059ba68026426456b9088c1258d85d06 Mon Sep 17 00:00:00 2001 From: khanzanicdecay Date: Wed, 18 Jun 2014 22:29:47 +0100 Subject: [PATCH] Update scraper.php removed _s --- scraper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scraper.php b/scraper.php index e50c1bf..47ca9cd 100644 --- a/scraper.php +++ b/scraper.php @@ -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"); } @@ -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++;