From b615a4a4eeb707f4286c40ede4fd1edd7eff3738 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Thu, 14 Jun 2018 10:04:08 +0100 Subject: [PATCH] added gather --- gather.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gather.js b/gather.js index 8dfd6c8..405fb01 100644 --- a/gather.js +++ b/gather.js @@ -1,4 +1,3 @@ -const outputFile = 'news'; const RssBraider = require('rss-braider'); const fs = require('fs'); const ejs = require( @@ -12,8 +11,6 @@ const str = read( 'utf8'); const feeds = {}; -const argv = require('yargs').argv; - const log4js = require('log4js'); const logger = log4js.getLogger(); @@ -117,7 +114,5 @@ async function main() { cron.schedule('0 * * * *', function () { main(); - // saveToDB(todayCache); - // Console.log('tick'); return -1; });