mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
rss: fix zhihu zhuanlan image links
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = async (ctx) => {
|
||||
description: info.description,
|
||||
item: list.map((item) => ({
|
||||
title: item.title,
|
||||
description: item.content.replace(/<img src="/g, '<img referrerpolicy="no-referrer" src="https://pic4.zhimg.com/'),
|
||||
description: item.content.replace(/ src="/g, ' referrerpolicy="no-referrer" src="https://pic4.zhimg.com/'),
|
||||
pubDate: new Date(item.publishedTime).toUTCString(),
|
||||
link: `https://zhuanlan.zhihu.com${item.url}`,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user