Update news.js

This commit is contained in:
Jinkin
2021-01-05 18:21:35 +08:00
committed by GitHub
parent 94214a9d5e
commit ae1ceb6c60
+2 -2
View File
@@ -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,
};
};
};