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:
@@ -6,17 +6,9 @@ const ProcessFeed = async (list) => {
|
||||
list.map(async (item) => {
|
||||
const $ = cheerio.load(item);
|
||||
const $title = $('b');
|
||||
const description =
|
||||
$('span')
|
||||
.eq(0)
|
||||
.text() +
|
||||
$('span')
|
||||
.eq(1)
|
||||
.text();
|
||||
const description = $('span').eq(0).text() + $('span').eq(1).text();
|
||||
// 还原相对链接为绝对链接
|
||||
const pubDate = $('span')
|
||||
.eq(2)
|
||||
.text();
|
||||
const pubDate = $('span').eq(2).text();
|
||||
const bb = $('a[href]').get()[0];
|
||||
const itemUrl = host + $(bb).attr('href');
|
||||
let n = 0,
|
||||
|
||||
Reference in New Issue
Block a user