fix: smzdm haowen content, close #4140
This commit is contained in:
parent
61cfa78c3a
commit
669448d746
|
|
@ -41,7 +41,10 @@ module.exports = async (ctx) => {
|
|||
|
||||
const response = await got.get(itemUrl);
|
||||
const $ = cheerio.load(response.data);
|
||||
const description = $('article > div').html();
|
||||
const content = $('#articleId');
|
||||
content.find('.item-name').remove();
|
||||
content.find('.recommend-tab').remove();
|
||||
const description = content.html();
|
||||
|
||||
const single = {
|
||||
title: title,
|
||||
|
|
|
|||
Loading…
Reference in New Issue