Skip to content

Commit

Permalink
Changed the data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
GityUpNow committed Dec 29, 2015
1 parent c81080e commit 355cb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Expand Up @@ -9,7 +9,7 @@ db.exec("CREATE TABLE AMENITIES(zipCity TEXT, openingHours TEXT PRIMARY KEY, str

request('https://www.heilbronn.de/bue_rat/virtuell/entsorgung/recyclinghoefe/adressen_recyclinghoefe/', function (error, response, html) {
if (!error && response.statusCode == 200) {
var statement = db.prepare("INSERT INTO AMENITIES VALUES (?)");
var statement = db.prepare("INSERT INTO AMENITIES VALUES (?, ?, ?, ?, ?)");
var $ = cheerio.load(html);
var data = [];

Expand Down

0 comments on commit 355cb94

Please sign in to comment.