mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: iqiyi dongman (#4137)
This commit is contained in:
@@ -11,14 +11,11 @@ module.exports = async (ctx) => {
|
||||
Host: 'www.iqiyi.com',
|
||||
Referer: `http://www.iqiyi.com/${id}.html`,
|
||||
},
|
||||
responseType: 'document',
|
||||
});
|
||||
|
||||
const data = response.data;
|
||||
const $ = cheerio.load(data);
|
||||
const description = $('span[data-moreorless="moreinfo"][itemprop="description"] span')
|
||||
.text()
|
||||
.split('\n')[0];
|
||||
const description = $('.episodeIntro-brief').text();
|
||||
const list = $('li[data-albumlist-elem="playItem"]');
|
||||
|
||||
ctx.state.data = {
|
||||
|
||||
Reference in New Issue
Block a user