mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
Update news.js
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user