chore(deps-dev): bump prettier from 1.19.1 to 2.0.2

This commit is contained in:
DIYgod
2020-04-02 21:21:46 +08:00
parent 27e4a7c151
commit 0e7b14e718
471 changed files with 1237 additions and 4457 deletions

View File

@@ -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,