From ae1ceb6c6057de36150a571d752d7ffd3300c26d Mon Sep 17 00:00:00 2001 From: Jinkin Date: Tue, 5 Jan 2021 18:21:35 +0800 Subject: [PATCH] Update news.js --- lib/routes/mcdonalds/news.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/mcdonalds/news.js b/lib/routes/mcdonalds/news.js index 93949dcc7b..f62e83a77b 100644 --- a/lib/routes/mcdonalds/news.js +++ b/lib/routes/mcdonalds/news.js @@ -28,7 +28,7 @@ module.exports = async (ctx) => { const result = await got.get(news_url); const $ = cheerio.load(result.data); - console.log($('h3 ~ time').text(), news_url); +// console.log($('h3 ~ time').text(), news_url); return { title: $('h3').text(), @@ -48,4 +48,4 @@ module.exports = async (ctx) => { item: out, }; -}; \ No newline at end of file +};