diff --git a/lib/routes/acfun/video.js b/lib/routes/acfun/video.js index fd4a707f3..f5ac939f2 100644 --- a/lib/routes/acfun/video.js +++ b/lib/routes/acfun/video.js @@ -16,8 +16,8 @@ module.exports = async (ctx) => { const $ = cheerio.load(data); const title = $('title').text(); - const description = $('.tan .info').text(); - const list = $('#listVideo .contentView a').get(); + const description = $('.preview').text(); + const list = $('#ac-space-video-list a').get(); ctx.state.data = { title: title, @@ -28,7 +28,7 @@ module.exports = async (ctx) => { const $ = cheerio.load(item); const itemTitle = $('p.title').text(); - const itemImg = $('figure img').attr('data-original'); + const itemImg = $('figure img').attr('src'); const itemUrl = $('a').attr('href'); const itemDate = $('.date').text();