mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 12:21:31 +08:00
chore: 部分代码优化 (#1674)
This commit is contained in:
@@ -10,7 +10,7 @@ const ProcessFeed = ($, link) => {
|
||||
content.find('div.story-image > figure').each((i, e) => {
|
||||
const src = `https://www.ft.com/__origami/service/image/v2/images/raw/${encodeURIComponent(e.attribs['data-url'])}?source=ftchinese&width=800&fit=cover`;
|
||||
|
||||
$(`<img src=${src}>`).insertAfter(content.find('div.story-lead')[0]);
|
||||
$(`<img referrerpolicy="no-referrer" src=${src}>`).insertAfter(content.find('div.story-lead')[0]);
|
||||
});
|
||||
|
||||
// 付费文章跳转
|
||||
|
||||
Reference in New Issue
Block a user