整理重构路由,修改部分文档 (#604)

This commit is contained in:
Henry Wang
2018-08-31 22:17:08 +08:00
committed by DIYgod
parent 144296f1f4
commit 6edb24cf37
18 changed files with 82 additions and 78 deletions
+56 -52
View File
@@ -166,7 +166,9 @@ RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出
- id, fir app id, 必选, 如 fir 生成的链接地址为 https://fir.im/xcz, 则 id 为 `xcz`
### App Store/Mac App Store 应用更新 <Author uid="cielpy"/>
## App Store/Mac App Store
### 应用更新 <Author uid="cielpy"/>
举例: [https://rsshub.app/appstore/update/cn/id444934666](https://rsshub.app/appstore/update/cn/id444934666)
@@ -178,7 +180,7 @@ RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出
- id, App Store app id, 必选, 如 QQ 的链接为 https://itunes.apple.com/cn/app/qq/id444934666?mt=8, 则 id 为 `id444934666`
### App Store/Mac App Store 价格更新(限免) <Author uid="HenryQW"/>
### 价格更新(限免) <Author uid="HenryQW"/>
举例: [https://rsshub.app/appstore/price/cn/mac/id1152443474](https://rsshub.app/appstore/price/cn/mac/id1152443474)
@@ -192,7 +194,7 @@ RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出
- id, App Store app id, 必选, 如 Squash 的链接为 https://itunes.apple.com/cn/app/id1152443474, 则 id 为 `id115244347`
### App Store/Mac App Store 内购价格更新(限免) <Author uid="HenryQW"/>
### 内购价格更新(限免) <Author uid="HenryQW"/>
举例: [https://rsshub.app/appstore/iap/cn/id1152443474](https://rsshub.app/appstore/price/cn/id1152443474)
@@ -386,7 +388,7 @@ RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出
参数: 无
## 媒体类
## 传统媒体类
### 央视新闻
@@ -482,6 +484,56 @@ RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出
- category, 新京报的栏目名, 点击对应栏目后在地址栏找到
## 科技媒体类
### 推酷
#### 周刊 <Author uid="zpcc"/>
举例: [https://rsshub.app/tuicool/mags/tech](https://rsshub.app/tuicool/mags/tech)
路由: `/tuicool/mags/:type`
参数:
- type
| 编程狂人 | 设计匠艺 | 创业周刊 | 科技周刊 |
| -------- | -------- | -------- | -------- |
| prog | design | startup | tech |
### 科技星球
#### 首页 <Author uid="vhgyux"/>
举例: [https://rsshub.app/kejixingqiu/home](https://rsshub.app/kejixingqiu/home)
路由: `/kejixingqiu/home`
### 极客时间
#### 专栏文章 <Author uid="fengchang"/>
> 极客时间专栏需要付费订阅, RSS 仅做更新提醒, 不含付费内容.
举例: [https://rsshub.app/geektime/column/48](https://rsshub.app/geektime/column/48)
路由: `/geektime/column/:cid`
参数:
- cid, 专栏 id, 可从[全部专栏](https://time.geekbang.org/paid-content)进入专栏介绍页, 在 URL 中找到
### 爱范儿 ifanr <Author uid="HenryQW"/>
#### AppSolution
举例: <https://rsshub.app/ifanr/appso>
路由: `/ifanr/appso`
参数: 无
## bilibili
### 番剧 <Author uid="DIYgod"/>
@@ -1482,20 +1534,6 @@ RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出
- keyword, 关键词
## 极客时间
### 专栏文章 <Author uid="fengchang"/>
> 极客时间专栏需要付费订阅, RSS 仅做更新提醒, 不含付费内容.
举例: [https://rsshub.app/geektime/column/48](https://rsshub.app/geektime/column/48)
路由: `/geektime/column/:cid`
参数:
- cid, 专栏 id, 可从[全部专栏](https://time.geekbang.org/paid-content)进入专栏介绍页, 在 URL 中找到
## Disqus
### 评论 <Author uid="DIYgod"/>
@@ -2034,14 +2072,6 @@ GitHub 官方也提供了一些 RSS:
| ---------- | ------------ | ------------ |
| 7 | 8 | 16 |
## 科技星球
### 首页 <Author uid="vhgyux"/>
举例: [https://rsshub.app/kejixingqiu/home](https://rsshub.app/kejixingqiu/home)
路由: `/kejixingqiu/home`
## 机核网
### 分类 <Author uid="MoguCloud"/>
@@ -2088,22 +2118,6 @@ GitHub 官方也提供了一些 RSS:
参数: 无
## 推酷
### 周刊 <Author uid="zpcc"/>
举例: [https://rsshub.app/tuicool/mags/tech](https://rsshub.app/tuicool/mags/tech)
路由: `/tuicool/mags/:type`
参数:
- type
| 编程狂人 | 设计匠艺 | 创业周刊 | 科技周刊 |
| -------- | -------- | -------- | -------- |
| prog | design | startup | tech |
## Hexo
### Next 主题 <Author uid="fengkx"/>
@@ -2487,16 +2501,6 @@ ISO 3166-1 国家代码列表请参见 [维基百科 ISO_3166-1](https://zh.wiki
参数: 无
## 爱范儿 ifanr <Author uid="HenryQW"/>
### AppSolution
举例: <https://rsshub.app/ifanr/appso>
路由: `/ifanr/appso`
参数: 无
## 果壳网 guokr <Author uid="alphardex"/>
### 科学人
+26 -26
View File
@@ -311,15 +311,6 @@ router.get('/eztv/torrents/:imdb_id', require('./routes/eztv/imdb'));
router.get('/smzdm/keyword/:keyword', require('./routes/smzdm/keyword'));
router.get('/smzdm/ranking/:rank_type/:rank_id/:hour', require('./routes/smzdm/ranking'));
// SHMTU
router.get('/shmtu/events', require('./routes/shmtu/events'));
router.get('/shmtu/notes', require('./routes/shmtu/notes'));
router.get('/shmtu/jwc/:type', require('./routes/shmtu/jwc'));
// SWUST
router.get('/swust/jwc/:type', require('./routes/swust/jwc'));
router.get('/swust/cs/:type', require('./routes/swust/cs'));
// 新京报
router.get('/bjnews/:cat', require('./routes/bjnews/news'));
@@ -347,9 +338,6 @@ router.get('/t66y/:id', require('./routes/t66y/index'));
// 科技星球
router.get('/kejixingqiu/home', require('./routes/kejixingqiu/home'));
// PKUEECS
router.get('/pku/eecs/:type?', require('./routes/pku/eecs'));
// 机核
router.get('/gcores/category/:category', require('./routes/gcores/category'));
@@ -371,11 +359,6 @@ router.get('/hexo/next/:url', require('./routes/hexo/next'));
// 小米
router.get('/mi/crowdfunding', require('./routes/mi/crowdfunding'));
// SCNU
router.get('/scnu/jw', require('./routes/scnu/jw'));
router.get('/scnu/library', require('./routes/scnu/library'));
router.get('/scnu/cs/match', require('./routes/scnu/cs/match'));
// Keep
router.get('/keep/user/:id', require('./routes/keep/user'));
@@ -445,9 +428,6 @@ router.get('/wechat/wasi/:id', require('./routes/wechat/wasi'));
// 马蜂窝
router.get('/mafengwo/note/:type', require('./routes/mafengwo/note'));
// 江南大学
router.get('/ju/jwc/:type?', require('./routes/ju/jwc'));
// 中国地震局震情速递(与地震台网同步更新)
router.get('/earthquake', require('./routes/earthquake'));
@@ -472,20 +452,40 @@ router.get('/gitlab/explore/:type', require('./routes/gitlab/explore'));
router.get('/mygalgame', require('./routes/galgame/mygalgame'));
// 大连工业大学
router.get('/dpu/jiaowu/news/:type?', require('./routes/dpu/jiaowu/news'));
router.get('/dpu/wlfw/news/:type?', require('./routes/dpu/wlfw/news'));
router.get('/dpu/jiaowu/news/:type?', require('./routes/universities/dpu/jiaowu/news'));
router.get('/dpu/wlfw/news/:type?', require('./routes/universities/dpu/wlfw/news'));
// 东南大学
router.get('/seu/radio/academic', require('./routes/seu/radio/academic'));
router.get('/seu/radio/academic', require('./routes/universities/seu/radio/academic'));
// 上海科技大学
router.get('/shanghaitech/sist/activity', require('./routes/shanghaitech/sist/activity'));
router.get('/shanghaitech/sist/activity', require('./routes/universities/shanghaitech/sist/activity'));
// 上海交通大学
router.get('/sjtu/seiee/academic', require('./routes/sjtu/seiee/academic'));
router.get('/sjtu/seiee/academic', require('./routes/universities/sjtu/seiee/academic'));
// 江南大学
router.get('/ju/jwc/:type?', require('./routes/universities/ju/jwc'));
// 北京大学
router.get('/pku/eecs/:type?', require('./routes/universities/pku/eecs'));
// 上海海事大学
router.get('/shmtu/events', require('./routes/universities/shmtu/events'));
router.get('/shmtu/notes', require('./routes/universities/shmtu/notes'));
router.get('/shmtu/jwc/:type', require('./routes/universities/shmtu/jwc'));
// 西南科技大学
router.get('/swust/jwc/:type', require('./routes/universities/swust/jwc'));
router.get('/swust/cs/:type', require('./routes/universities/swust/cs'));
// 华南师范大学
router.get('/scnu/jw', require('./routes/universities/scnu/jw'));
router.get('/scnu/library', require('./routes/universities/scnu/library'));
router.get('/scnu/cs/match', require('./routes/universities/scnu/cs/match'));
// 中国科学院
router.get('/cas/sim/academic', require('./routes/cas/sim/academic'));
router.get('/cas/sim/academic', require('./routes/universities/cas/sim/academic'));
// ifanr
router.get('/ifanr/appso', require('./routes/ifanr/appso'));