diff --git a/lib/v2/douban/other/weekly_best.js b/lib/v2/douban/other/weekly_best.js index 3f7eae60f..3f0289787 100644 --- a/lib/v2/douban/other/weekly_best.js +++ b/lib/v2/douban/other/weekly_best.js @@ -28,11 +28,13 @@ module.exports = async (ctx) => { link: `https://m.douban.com/subject_collection/${type}`, description: infoResponse.data.description, - item: data.map(({ title, info, cover, url, rating, year, release_date, null_rating_reason, description }) => { + item: data.map(({ title, info, cover, cover_url, url, rating, year, release_date, null_rating_reason, description }) => { const release = `${year}.${release_date}`; const rate = rating ? `${rating.value.toFixed(1)}分` : null_rating_reason; - - description = `标题:${title}
影片信息:${info}
上映日期:${release}
评分:${rate}

${description}

`; + if (cover && cover.url) { + cover_url = cover.url; + } + description = `标题:${title}
影片信息:${info}
上映日期:${release}
评分:${rate}

${description}

`; return { title,