mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-25 10:14:31 +08:00
refactor:
migrate to v2
This commit is contained in:
@@ -514,9 +514,9 @@ Edition
|
||||
|
||||
### Topics
|
||||
|
||||
<RouteEn author="emdoe" example="/nautilus/topic/arts" path="/nautilus/topic/:tid" :paramsDesc="['topic']">
|
||||
<RouteEn author="emdoe" example="/nautil/topic/arts" path="/nautil/topic/:tid" :paramsDesc="['topic']">
|
||||
|
||||
This route provides a flexible plan with full text content to subscribe specific topic(s) on the Nautilus. Please visit [nautil.us](http://nautil.us) and click `Topics` to acquire whole topic list.
|
||||
This route provides a flexible plan with full text content to subscribe specific topic(s) on the Nautilus. Please visit [nautil.us](https://nautil.us) and click `Topics` to acquire whole topic list.
|
||||
|
||||
</RouteEn>
|
||||
|
||||
|
||||
+1
-1
@@ -910,7 +910,7 @@ IPFS 网关有可能失效,那时候换成其他网关。
|
||||
|
||||
### 话题
|
||||
|
||||
<Route author="emdoe" example="/nautilus/topic/arts" path="/nautilus/topic/:tid" :paramsDesc="['话题 id, 可在页面上方 TOPICS 栏目处找到']"/>
|
||||
<Route author="emdoe" example="/nautil/topic/arts" path="/nautil/topic/:tid" :paramsDesc="['话题 id, 可在页面上方 TOPICS 栏目处找到']"/>
|
||||
|
||||
## Netflix
|
||||
|
||||
|
||||
+1
-1
@@ -1065,7 +1065,7 @@ router.get('/miniflux/:feeds/:parameters?', lazyloadRouteHandler('./routes/minif
|
||||
// router.get('/nga/post/:tid', lazyloadRouteHandler('./routes/nga/post'));
|
||||
|
||||
// Nautilus
|
||||
router.get('/nautilus/topic/:tid', lazyloadRouteHandler('./routes/nautilus/topics'));
|
||||
// router.get('/nautilus/topic/:tid', lazyloadRouteHandler('./routes/nautilus/topics'));
|
||||
|
||||
// JavBus migrated to v2
|
||||
// router.get('/javbus/home', lazyloadRouteHandler('./routes/javbus/home'));
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
'/topic/:tid': ['emdoe'],
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
'nautil.us': {
|
||||
_name: 'Nautilus',
|
||||
'.': [
|
||||
{
|
||||
title: 'Topics',
|
||||
docs: 'https://docs.rsshub.app/en/new-media.html#nautilus',
|
||||
source: ['/topics/:tid'],
|
||||
target: '/nautil/topic/:tid',
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
module.exports = (router) => {
|
||||
router.get('/topic/:tid', require('./topics'));
|
||||
};
|
||||
Reference in New Issue
Block a user