mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 05:03:44 +08:00
chore: 部分代码优化 (#1674)
This commit is contained in:
@@ -8,8 +8,7 @@ module.exports = async (ctx) => {
|
||||
method: 'get',
|
||||
url: url,
|
||||
});
|
||||
const data = res.data;
|
||||
const $ = cheerio.load(data);
|
||||
const $ = cheerio.load(res.data);
|
||||
|
||||
const resultItem = [];
|
||||
$('.J-mainDetail #docArticleContent h3').each(function() {
|
||||
|
||||
Reference in New Issue
Block a user