mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-07 05:36:08 +08:00
Adding RSS:日报 | D2 资源库 (#1494)
添加对 [D2 资源库日报](https://awesome.fairyever.com/daily/) 的支持。 **注意**: 引入了一个新的依赖:[sanitize-html](https://www.npmjs.com/package/sanitize-html) 用于去除 HTML 中不需要的内容 ```javascript description = sanitizeHtml(description, { allowedTags: ['section', 'h2', 'ul', 'li', 'p', 'span', 'a'], }); ```
This commit is contained in:
@@ -1019,4 +1019,7 @@ router.get('/mpaypass/news', require('./routes/mpaypass/news'));
|
||||
// 新浪科技探索
|
||||
router.get('/sina/discovery/:type', require('./routes/sina/discovery'));
|
||||
|
||||
// D2 资源库
|
||||
router.get('/d2/daily', require('./routes/d2/daily'));
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user