aboutsummaryrefslogtreecommitdiff
path: root/scrape.js
diff options
context:
space:
mode:
Diffstat (limited to 'scrape.js')
-rw-r--r--scrape.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/scrape.js b/scrape.js
index 64e00fb..0ae30aa 100644
--- a/scrape.js
+++ b/scrape.js
@@ -1,4 +1,7 @@
-const https = require("https"); const parse = require("./parse.js"); const fs = require("fs"); const events = require("events");
+const https = require("https");
+const parse = require("./DBPARSE.js");
+const fs = require("fs");
+const events = require("events");
async function urlOpen(path)
{
@@ -22,7 +25,7 @@ async function scrapeFood(url)
data = data.toString("utf-8");
let foodList = [];
- const weekdays = ["su", "ma", "ti", "ke", "to", "pe", "la"];
+ const weekdays = ["ma", "ti", "ke", "to", "pe", "la", "su"];
let titleTags = ["<title>", "</title>"];
let foodTags = ["<![CDATA[", "]]>"];