mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-21 12:49:53 +08:00
feat: item suffix
This commit is contained in:
@@ -45,6 +45,7 @@ const calculateValue = () => {
|
||||
},
|
||||
},
|
||||
nodeName: envs.NODE_NAME,
|
||||
suffix: envs.SUFFIX,
|
||||
pixiv: {
|
||||
username: envs.PIXIV_USERNAME,
|
||||
password: envs.PIXIV_PASSWORD,
|
||||
|
||||
@@ -110,7 +110,7 @@ module.exports = async (ctx, next) => {
|
||||
$ele.removeAttr(e);
|
||||
});
|
||||
});
|
||||
item.description = he.decode($('body').html() + '');
|
||||
item.description = he.decode($('body').html() + '') + (config.suffix || '');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user