mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 22:19:40 +08:00
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2
This commit is contained in:
@@ -11,12 +11,10 @@ module.exports = async (ctx) => {
|
||||
const $ = cheerio.load(res.data);
|
||||
|
||||
const resultItem = [];
|
||||
$('.J-mainDetail #docArticleContent h3').each(function() {
|
||||
$('.J-mainDetail #docArticleContent h3').each(function () {
|
||||
const item = {};
|
||||
item.title = $(this).text();
|
||||
item.description = $(this)
|
||||
.nextUntil('h3')
|
||||
.text();
|
||||
item.description = $(this).nextUntil('h3').text();
|
||||
item.link = url;
|
||||
item.guid = $(this).text();
|
||||
resultItem.push(item);
|
||||
|
||||
Reference in New Issue
Block a user