diff --git a/docs/en/README.md b/docs/en/README.md index 39fba36c14..a12fc05672 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -19,8 +19,8 @@ RSSHub is a lightweight and extensible RSS feed aggregator, it's able to generat ### Sponsors -| [Eternal Proxy](https://proxy.eternalstudio.cn/?from=rsshub) | [Liuyang](https://github.com/lingllting) | [Sayori Studio](https://t.me/SayoriStudio) | 匿名 | [Sion Kazama](https://blog.sion.moe) | -| :----------------------------------------------------------: | :--------------------------------------: | :----------------------------------------: | :--: | :----------------------------------: | +| [Eternal Proxy](https://proxy.eternalstudio.cn/?from=rsshub) | [Liuyang](https://github.com/lingllting) | [Sayori Studio](https://t.me/SayoriStudio) | Anonymous | [Sion Kazama](https://blog.sion.moe) | +| :----------------------------------------------------------: | :--------------------------------------: | :----------------------------------------: | :-------: | :----------------------------------: | [![](https://opencollective.com/static/images/become_sponsor.svg)](/support/) @@ -55,7 +55,7 @@ Logo designed by [sheldonrrr](https://dribbble.com/sheldonrrr) ::: tip -Free feel to test the [demo instance](https://rsshub.app), the cache expiry time is set to 10 minutes. +Feel free to test the [demo instance](https://rsshub.app), the cache expiry time is set to 10 minutes. ::: diff --git a/lib/routes/tencent/wechat/csm.js b/lib/routes/tencent/wechat/csm.js index 026d7d86d7..36ee1817e2 100644 --- a/lib/routes/tencent/wechat/csm.js +++ b/lib/routes/tencent/wechat/csm.js @@ -33,7 +33,12 @@ module.exports = async (ctx) => { const article = cheerio.load(response); article('[style="display: none;"], [style=" display: none;"], [style="display: none"]').each((i, e) => { - $(e).remove(); + article(e).remove(); + }); + + article('#js_content img').each((index, elem) => { + const $elem = article(elem); + $elem.attr('referrerpolicy', 'no-referrer'); }); const single = {