mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 05:03:44 +08:00
feat: remove addNoReferrer
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
const got = require('@/utils/got');
|
||||
const cheerio = require('cheerio');
|
||||
const { addNoReferrer } = require('@/utils/common-utils');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = 'https://developers.weixin.qq.com/community/plugins';
|
||||
@@ -39,8 +38,6 @@ module.exports = async (ctx) => {
|
||||
const id = 'x-rsshub';
|
||||
const $ = cheerio.load(`<div id="${id}">${pluginDetail.data.data.Content}</div>`);
|
||||
|
||||
addNoReferrer($, `#${id}`, 'data-src');
|
||||
|
||||
item.description = $(`#${id}`).html();
|
||||
ctx.cache.set(key, item.description);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user