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

@@ -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);