mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-01 17:48:15 +08:00
Set image width, image url is same with the original web page. (#12518)
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = async (ctx) => {
|
||||
title: item.document.title,
|
||||
link: `https://${siteDomain}/${item.document.urlString}`,
|
||||
author: item.document.screenName,
|
||||
description: `<img src="${item.document.coverImageUrl}">`,
|
||||
description: `<img src="${item.document.coverImageUrl}?auto=webp&crop=1.2%3A1&frame=1&width=500" width="500">`,
|
||||
pubDate: new Date(item.document.publishDate).toUTCString(),
|
||||
category: item.document.primaryClassification,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user