diff --git a/schedule.js b/schedule.js index f7a8348..687702e 100644 --- a/schedule.js +++ b/schedule.js @@ -28,8 +28,7 @@ function to_json(page) { var result = cheerio('td:nth-child(3) table', page); var amount_of_days = cheerio(result).find('tr.AccentDark').find('td').length - 1; var amount_of_hours = 7; - - + var schedule_data = []; //Looping for amount of days diff --git a/web.js b/web.js index cbe3b16..97d4f2f 100644 --- a/web.js +++ b/web.js @@ -1,8 +1,9 @@ //web.js var express = require('express'); +var app = express(); + var lookup = require('./lookup.js'); var schedule = require('./schedule.js'); -var app = express(); app.get('/', function (req, res) { res.send('Hello world!');