mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 20:27:52 +08:00
牛客网全文链接 移除随显示位置变化的param (#1702)
* 修改牛客网帖子内容(description)解析方案 * 牛客网全文链接 删除随位置变化的param * fix pretty issue 3
This commit is contained in:
@@ -26,7 +26,9 @@ module.exports = async (ctx) => {
|
||||
.replace('\n', ' '),
|
||||
link: $(this)
|
||||
.find('div.discuss-main.clearfix a')
|
||||
.attr('href'),
|
||||
.attr('href')
|
||||
.match(/^\/discuss\/[0-9]*/gm)
|
||||
.toString(),
|
||||
};
|
||||
return info;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user