Files
RSSHub/lib/v2/nyaa/router.js
noname1897 4751b026a3 feat(route): Nyaa migrated to v2 and add sukebei support (#10067)
* feat(route): Nyaa migrated to v2 and add sukebei

- 将 nyaa 的实现更新到 v2
- 新增 sukebei.nyaa.si 的搜索支持

* docs(nyaa): fix typo in nyaa document

Co-authored-by: noname <noname@noname.no>
2022-06-30 01:53:56 +08:00

5 lines
154 B
JavaScript

module.exports = (router) => {
router.get('/search/:query?', require('./search'));
router.get('/sukebei/search/:query?', require('./search'));
};