mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-07 05:36:08 +08:00
feat: use contentExpire
This commit is contained in:
@@ -33,7 +33,7 @@ module.exports = async (ctx) => {
|
||||
$('section .content script').remove();
|
||||
$('section .content #discourse-comments').remove();
|
||||
const html = $('section .content').html();
|
||||
ctx.cache.set(link, html, 3 * 60 * 60);
|
||||
ctx.cache.set(link, html);
|
||||
|
||||
return html;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user