diff --git a/docs/README.md b/docs/README.md index cb4f43b8b..dfd654d48 100644 --- a/docs/README.md +++ b/docs/README.md @@ -9,7 +9,7 @@ sidebar: auto > 🍰 万物皆可 RSS -RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇怪怪的内容生成 RSS 订阅源 +RSSHub 是一个轻量、易于扩展的 RSS 生成器, 可以给任何奇奇怪怪的内容生成 RSS 订阅源 [Telegram 群](https://t.me/rsshub) @@ -44,7 +44,7 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇 ::: tip 提示 -演示地址为 [rsshub.app](https://rsshub.app),缓存时间 10 分钟,可以随意使用 +演示地址为 [rsshub.app](https://rsshub.app), 缓存时间 10 分钟, 可以随意使用 ::: @@ -52,13 +52,13 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇 ::: tip 提示 -所有通用参数可以组合使用,效果叠加 +所有通用参数可以组合使用, 效果叠加 ::: ### 内容过滤 -可以使用以下 URL query 过滤内容,支持正则 +可以使用以下 URL query 过滤内容, 支持正则 filter 选出想要的内容 @@ -82,13 +82,13 @@ filterout 去掉不要的内容 ### 条数限制 -可以使用 limit 参数限制最大条数,主要用于排行榜类 RSS +可以使用 limit 参数限制最大条数, 主要用于排行榜类 RSS -举例:bilibili 排行榜前 10 [https://rsshub.app/bilibili/ranking/0/3?limit=10](https://rsshub.app/bilibili/ranking/0/3?limit=10) +举例: bilibili 排行榜前 10 [https://rsshub.app/bilibili/ranking/0/3?limit=10](https://rsshub.app/bilibili/ranking/0/3?limit=10) ### 输出格式 -RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出格式,在路由末尾添加 `.rss` `.atom` 或 `.json` 即可请求对应输出格式,缺省为 RSS 2.0 +RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出格式, 在路由末尾添加 `.rss` `.atom` 或 `.json` 即可请求对应输出格式, 缺省为 RSS 2.0 举例: @@ -114,11 +114,11 @@ RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出 路由: `/miui/:device/:type?` -参数 +参数: -device: 设备的 `codename` 例如 小米 2s 为 `aries` +- device: 设备的 `codename` 例如 小米 2s 为 `aries` -type: 类型,可选参数 +- type: 类型, 可选参数 | 稳定版 | 开发版 | | ------- | ------ | @@ -130,7 +130,9 @@ type: 类型,可选参数 路由: `/firefox/release/:platform` -参数: platform +参数: + +- platform | 桌面 | Android | Beta | Nightly | Android Beta | | ------- | ------- | ---- | ------- | ------------ | @@ -142,7 +144,7 @@ type: 类型,可选参数 路由: `/qcloud/mlvb/changelog` -参数:无 +参数: 无 ### Bugly SDK @@ -150,7 +152,9 @@ type: 类型,可选参数 路由: `/bugly/changelog/:platform` -参数:platform, 平台类型,必选,1 为 Android,2 为 iOS +参数: + +- platform, 平台类型, 必选, 1 为 Android, 2 为 iOS ### fir.im 应用 @@ -158,7 +162,9 @@ type: 类型,可选参数 路由: `/fir/update/:id` -参数:id, fir app id,必选,如 fir 生成的链接地址为 https://fir.im/xcz,则 id 为 xcz +参数: + +- id, fir app id, 必选, 如 fir 生成的链接地址为 https://fir.im/xcz, 则 id 为 xcz ### App Store/Mac App Store 应用更新 @@ -166,11 +172,11 @@ type: 类型,可选参数 路由: `/appstore/update/:country/:id` -参数: +参数: -country, App Store 国家,必选,如 QQ 的链接为 https://itunes.apple.com/cn/app/qq/id444934666?mt=8,则 country 为 cn +- country, App Store 国家, 必选, 如 QQ 的链接为 https://itunes.apple.com/cn/app/qq/id444934666?mt=8, 则 country 为 cn -id, App Store app id,必选,如 QQ 的链接为 https://itunes.apple.com/cn/app/qq/id444934666?mt=8,则 id 为 id444934666 +- id, App Store app id, 必选, 如 QQ 的链接为 https://itunes.apple.com/cn/app/qq/id444934666?mt=8, 则 id 为 id444934666 ### App Store/Mac App Store 价格更新(限免) @@ -178,13 +184,25 @@ id, App Store app id,必选,如 QQ 的链接为 https://itunes.apple.com/cn/ 路由: `/appstore/price/:country/:type/:id` -参数: +参数: -country, App Store 国家,必选,如 Squash 的链接为 https://itunes.apple.com/cn/app/id1152443474,则 country 为 cn +- country, App Store 国家, 必选, 如 Squash 的链接为 https://itunes.apple.com/cn/app/id1152443474, 则 country 为 cn -type, App 类型,必选, `iOS` 或 `mac` +- type, App 类型, 必选, `iOS` 或 `mac` -id, App Store app id,必选,如 Squash 的链接为 https://itunes.apple.com/cn/app/id1152443474,则 id 为 id115244347 +- id, App Store app id, 必选, 如 Squash 的链接为 https://itunes.apple.com/cn/app/id1152443474, 则 id 为 id115244347 + +### App Store/Mac App Store 内购价格更新(限免) + +举例: [https://rsshub.app/appstore/iap/cn/id1152443474](https://rsshub.app/appstore/price/cn/id1152443474) + +路由: `/appstore/iap/:country/:id` + +参数: + +- country, App Store 国家, 必选, 如 Darkroom – Photo Editor 的链接为 https://itunes.apple.com/cn/app/id953286746, 则 country 为 `cn` + +- id, App Store app id, 必选, 如 Darkroom – Photo Editor 的链接为 https://itunes.apple.com/cn/app/id953286746, 则 id 为 `id953286746` ## 大学类 @@ -212,7 +230,9 @@ id, App Store app id,必选,如 Squash 的链接为 https://itunes.apple.com 路由: `/shmtu/jwc/:type` -参数: type,1 为教务新闻,2 为教务公告 +参数: + +- type, 1 为教务新闻, 2 为教务公告 ### 西南科技大学 @@ -222,7 +242,9 @@ id, App Store app id,必选,如 Squash 的链接为 https://itunes.apple.com 路由: `/swust/jwc/:type` -参数: type, 1 为通知公告, 2 为站点新闻 +参数: + +- type, 1 为通知公告, 2 为站点新闻 #### 计科学院通知 @@ -230,7 +252,9 @@ id, App Store app id,必选,如 Squash 的链接为 https://itunes.apple.com 路由: `swust/cs/:type` -参数: type, 1 为新闻动态, 2 为学术动态, 3 为通知公告, 4 为教研动态 +参数: + +- type, 1 为新闻动态, 2 为学术动态, 3 为通知公告, 4 为教研动态 ### 北京大学 @@ -240,7 +264,9 @@ id, App Store app id,必选,如 Squash 的链接为 https://itunes.apple.com 路由: `/eecs/:type` -可选参数: type,分区 type,可在网页 URL 中找到 +参数: + +- type, 可选分区 type, 可在网页 URL 中找到 | 全部 | 学院通知 | 人事通知 | 教务通知 | 学工通知 | 科研通知 | 财务通知 | 工会通知 | 院友通知 | | ---- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | @@ -250,27 +276,27 @@ id, App Store app id,必选,如 Squash 的链接为 https://itunes.apple.com #### 教务处通知 -举例: [https://rsshub.app/scnu/jw](https://rsshub.app/scnu/jw) +举例: [https://rsshub.app/scnu/jw](https://rsshub.app/scnu/jw) -路由: `/scnu/jw` +路由: `/scnu/jw` -参数:无 +参数: 无 #### 图书馆通知 -举例: [https://rsshub.app/scnu/library](https://rsshub.app/scnu/library) +举例: [https://rsshub.app/scnu/library](https://rsshub.app/scnu/library) -路由: `/scnu/library` +路由: `/scnu/library` -参数:无 +参数: 无 #### 计算机学院竞赛通知 -举例: [https://rsshub.app/scnu/cs/match](https://rsshub.app/scnu/cs/match) +举例: [https://rsshub.app/scnu/cs/match](https://rsshub.app/scnu/cs/match) -路由: `/scnu/cs/match` +路由: `/scnu/cs/match` -参数:无 +参数: 无 ### 江南大学 @@ -282,7 +308,7 @@ id, App Store app id,必选,如 Squash 的链接为 https://itunes.apple.com 参数: -type, 可选, 默认为 `all` +- type, 可选, 默认为 `all` | all | tzgg | ksap | wjgg | tmgz | djks | xjgl | bysj | syjs | | ---- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | @@ -300,7 +326,9 @@ type, 可选, 默认为 `all` 路由: `/dpu/jiaowu/:type?` -参数: type, 可选, 默认为 `xwdt` +参数: + +- type, 可选, 默认为 `xwdt` | 新闻动态 | 通知公告 | 教务文件 | | -------- | -------- | -------- | @@ -314,6 +342,8 @@ type, 可选, 默认为 `all` 路由: `/seu/radio/academic` +参数: 无 + ### 上海科技大学 #### 信息科技与技术学院活动 @@ -322,6 +352,8 @@ type, 可选, 默认为 `all` 路由: `/shanghaitech/sist/activity` +参数: 无 + ### 上海交通大学 #### 电子信息与电气工程学院学术动态 @@ -330,6 +362,8 @@ type, 可选, 默认为 `all` 路由: `/sjtu/seiee/academic` +参数: 无 + ### 中国科学院 #### 上海微系统与信息技术研究所学术活动 @@ -338,6 +372,8 @@ type, 可选, 默认为 `all` 路由: `/cas/sim/academic` +参数: 无 + ## 媒体类 ### 央视新闻 @@ -348,7 +384,9 @@ type, 可选, 默认为 `all` 路由: `/cctv/:category` -参数:category,分类名 +参数: + +- category, 分类名 | 国内 | 国际 | 视频 | 科技 | 社会 | 法律 | 娱乐 | | ----- | ----- | ----- | ---- | ------- | ---- | ---- | @@ -356,7 +394,7 @@ type, 可选, 默认为 `all` ### 财新网 -> 网站部分内容需要付费订阅,RSS 仅做更新提醒,不含付费内容。 +> 网站部分内容需要付费订阅, RSS 仅做更新提醒, 不含付费内容. #### 新闻分类 @@ -364,23 +402,25 @@ type, 可选, 默认为 `all` 路由: `/caixin/:column/:category` -参数:column,栏目名 +参数: -category,栏目下的子分类名 +- column, 栏目名 -column 列表: +- category, 栏目下的子分类名 + +- column 列表: | 经济 | 金融 | 政经 | 环科 | 世界 | 观点网 | 文化 | 周刊 | | ------- | ------- | ----- | ------- | ------------- | ------- | ------- | ------ | | economy | finance | china | science | international | opinion | culture | weekly | -以金融板块为例的 category 列表:(其余 column 以类似方式寻找) +以金融板块为例的 category 列表: (其余 column 以类似方式寻找) | 监管 | 银行 | 证券基金 | 信托保险 | 投资 | 创新 | 市场 | | ---------- | ---- | -------- | --------------- | ---------- | ---------- | ------ | | regulation | bank | stock | insurance_trust | investment | innovation | market | -财新周刊 category 列表: +财新周刊 category 列表: | 封面报道 | 开卷 | 社论 | 时事 | 编辑寄语 | 经济 | 金融 | 商业 | 环境与科技 | 民生 | 副刊 | | ---------- | ----- | --------- | --------------- | ----------- | ------- | ------- | -------- | ---------------------- | ------- | ------ | @@ -390,11 +430,13 @@ column 列表: #### 新闻分类 -举例:[https://rsshub.app/infzm/5](https://rsshub.app/infzm/5) +举例: [https://rsshub.app/infzm/5](https://rsshub.app/infzm/5) 路由: `/infzm/:id` -参数: id,南方周末内容分区 id,可在该内容分区的 URL 中找到(即http://www.infzm.com/contents/:id),注意 contents 为内容分区,content 为文章页,添加前请留意。下面给出部分参考: +参数: + +- id, 南方周末内容分区 id, 可在该内容分区的 URL 中找到(即http://www.infzm.com/contents/:id), 注意 contents 为内容分区, content 为文章页, 添加前请留意. 下面给出部分参考: | 全站 | 新闻 | 经济 | 文化 | 评论 | 图片 | 生活 | 时政 | 社会 | 科技 | 绿色 | 头条 | | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | @@ -422,9 +464,11 @@ column 列表: 举例: [https://rsshub.app/bjnews/realtime](https://rsshub.app/bjnews/realtime) -路由: `/bjnews/:category` +路由: `/bjnews/:category` -参数: category,新京报的栏目名,点击对应栏目后在地址栏找到 +参数: + +- category, 新京报的栏目名, 点击对应栏目后在地址栏找到 ## bilibili @@ -434,7 +478,9 @@ column 列表: 路由: `/bilibili/bangumi/:seasonid` -参数: seasonid,番剧 id,番剧主页打开控制台执行 `window.__INITIAL_STATE__.ssId` 或 `window.__INITIAL_STATE__.mediaInfo.param.season_id` 获取 +参数: + +- seasonid, 番剧 id, 番剧主页打开控制台执行 `window.__INITIAL_STATE__.ssId` 或 `window.__INITIAL_STATE__.mediaInfo.param.season_id` 获取 ### UP 主投稿 @@ -442,7 +488,9 @@ column 列表: 路由: `/bilibili/user/video/:uid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: + +- uid, 用户 id, 可在 UP 主主页中找到 ### UP 主专栏 @@ -450,7 +498,9 @@ column 列表: 路由: `/bilibili/user/article/:uid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: + +- uid, 用户 id, 可在 UP 主主页中找到 ### UP 主动态 @@ -458,7 +508,9 @@ column 列表: 路由: `/bilibili/user/dynamic/:uid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: + +- uid, 用户 id, 可在 UP 主主页中找到 ### UP 主频道 @@ -466,9 +518,11 @@ column 列表: 路由: `/bilibili/channel/:uid/:cid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: -cid,频道 ID,可在频道的 URL 中找到 +- uid, 用户 id, 可在 UP 主主页中找到 + +- cid, 频道 ID, 可在频道的 URL 中找到 ### UP 主默认收藏夹 @@ -476,7 +530,9 @@ cid,频道 ID,可在频道的 URL 中找到 路由: `/bilibili/user/fav/:uid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: + +- uid, 用户 id, 可在 UP 主主页中找到 ### UP 主非默认收藏夹 @@ -484,9 +540,11 @@ cid,频道 ID,可在频道的 URL 中找到 路由: `/bilibili/fav/:uid/:fid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: -fid,收藏夹 ID,可在收藏夹的 URL 中找到,默认收藏夹建议使用 UP 主默认收藏夹功能 +- uid, 用户 id, 可在 UP 主主页中找到 + +- fid, 收藏夹 ID, 可在收藏夹的 URL 中找到, 默认收藏夹建议使用 UP 主默认收藏夹功能 ### UP 主投币视频 @@ -494,7 +552,9 @@ fid,收藏夹 ID,可在收藏夹的 URL 中找到,默认收藏夹建议使用 路由: `/bilibili/user/coin/:uid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: + +- uid, 用户 id, 可在 UP 主主页中找到 ### UP 主粉丝 @@ -502,7 +562,9 @@ fid,收藏夹 ID,可在收藏夹的 URL 中找到,默认收藏夹建议使用 路由: `/bilibili/user/followers/:uid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: + +- uid, 用户 id, 可在 UP 主主页中找到 ### UP 主关注用户 @@ -510,7 +572,9 @@ fid,收藏夹 ID,可在收藏夹的 URL 中找到,默认收藏夹建议使用 路由: `/bilibili/user/followings/:uid` -参数: uid,用户 id,可在 UP 主主页中找到 +参数: + +- uid, 用户 id, 可在 UP 主主页中找到 ### 分区视频 @@ -518,7 +582,9 @@ fid,收藏夹 ID,可在收藏夹的 URL 中找到,默认收藏夹建议使用 路由: `/bilibili/partion/:tid` -参数: tid,分区 id +参数: + +- tid, 分区 id 动画 @@ -624,9 +690,9 @@ fid,收藏夹 ID,可在收藏夹的 URL 中找到,默认收藏夹建议使用 参数: -tid,分区 id,见上方表格 +- tid, 分区 id, 见上方表格 -days, 可选, 缺省为 7, 指最近多少天内的热度排序 +- days, 可选, 缺省为 7, 指最近多少天内的热度排序 ### 视频评论 @@ -634,7 +700,9 @@ days, 可选, 缺省为 7, 指最近多少天内的热度排序 路由: `/bilibili/video/reply/:aid` -参数: aid,可在视频页 URL 中找到 +参数: + +- aid, 可在视频页 URL 中找到 ### link 公告 @@ -642,7 +710,9 @@ days, 可选, 缺省为 7, 指最近多少天内的热度排序 路由: `/bilibili/link/news/:product` -参数: product, 公告分类 包括 直播:live 小视频:vc 相簿:wh +参数: + +- product, 公告分类 包括 直播:live 小视频:vc 相簿:wh ### 直播开播 @@ -650,7 +720,9 @@ days, 可选, 缺省为 7, 指最近多少天内的热度排序 路由: `bilibili/live/room/:roomID` -参数: roomID, 房间号 可在直播间 URL 中找到,长短号均可 +参数: + +- roomID, 房间号 可在直播间 URL 中找到, 长短号均可 ### 直播搜索 @@ -660,15 +732,15 @@ days, 可选, 缺省为 7, 指最近多少天内的热度排序 参数 -key: 搜索关键字 +- key: 搜索关键字 -order: 排序方式,live_time 开播时间,online 人气 +- order: 排序方式, live_time 开播时间, online 人气 ### 直播分区 ::: warning 注意 -由于接口未提供开播时间,如果直播间未更换标题与分区,将视为一次。如果直播间更换分区与标题,将视为另一项 +由于接口未提供开播时间, 如果直播间未更换标题与分区, 将视为一次. 如果直播间更换分区与标题, 将视为另一项 ::: @@ -678,9 +750,9 @@ order: 排序方式,live_time 开播时间,online 人气 参数 -areaID: 分区 ID 分区增删较多,可通过 [分区列表](https://api.live.bilibili.com/room/v1/Area/getList) 查询 +- areaID: 分区 ID 分区增删较多, 可通过 [分区列表](https://api.live.bilibili.com/room/v1/Area/getList) 查询 -order: 排序方式,live_time 开播时间,online 人气 +- order: 排序方式, live_time 开播时间, online 人气 ### 主站话题列表 @@ -700,7 +772,9 @@ order: 排序方式,live_time 开播时间,online 人气 路由: `/bilibili/mall/ip/:id` -参数: id, 作品 id, 可在作品列表页 URL 中找到 +参数: + +- id, 作品 id, 可在作品列表页 URL 中找到 ### 排行榜 @@ -710,9 +784,9 @@ order: 排序方式,live_time 开播时间,online 人气 参数: -day: 时间跨度,可为 1 3 7 30 +- day: 时间跨度, 可为 1 3 7 30 -rid: 排行榜分区 id,默认 0 +- rid: 排行榜分区 id, 默认 0 | 全站 | 动画 | 国创相关 | 音乐 | 舞蹈 | 游戏 | 科技 | 生活 | 鬼畜 | 时尚 | 娱乐 | 影视 | | ---- | ---- | -------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | @@ -724,7 +798,9 @@ rid: 排行榜分区 id,默认 0 路由: `/bilibili/topic/:topic` -参数: topic 话题名(又称频道名或标签) 例如 2233 或 COSPLAY +参数: + +- topic 话题名(又称频道名或标签) 例如 2233 或 COSPLAY ## Bangumi @@ -744,8 +820,9 @@ rid: 排行榜分区 id,默认 0 参数: -- id:条目 ID。在条目页面的地址栏查看 -- minLength:以查询字符串(query string)的形式指定。用于过滤掉内容长度小于指定值的吐槽 +- id: 条目 ID. 在条目页面的地址栏查看 + +- minLength: 以查询字符串(query string)的形式指定. 用于过滤掉内容长度小于指定值的吐槽 ### 条目的评论 @@ -753,7 +830,9 @@ rid: 排行榜分区 id,默认 0 路由: `/bangumi/subject/:id/blogs` -参数: id - 条目 ID。在条目页面的地址栏查看 +参数: + +- id - 条目 ID. 在条目页面的地址栏查看 ### 条目的讨论 @@ -761,7 +840,9 @@ rid: 排行榜分区 id,默认 0 路由: `/bangumi/subject/:id/topics` -参数: id - 条目 ID。在条目页面的地址栏查看 +参数: + +- id - 条目 ID. 在条目页面的地址栏查看 ### 现实人物的新作品 @@ -769,7 +850,9 @@ rid: 排行榜分区 id,默认 0 路由: `/bangumi/person/:id` -参数: id - 人物 ID。在人物页面的地址栏查看 +参数: + +- id - 人物 ID. 在人物页面的地址栏查看 ### 小组话题的新回复 @@ -777,7 +860,9 @@ rid: 排行榜分区 id,默认 0 路由: `/bangumi/topic/:id` -参数: id - 话题 ID。在话题页面地址栏查看 +参数: + +- id - 话题 ID. 在话题页面地址栏查看 ## 微博 @@ -787,11 +872,13 @@ rid: 排行榜分区 id,默认 0 路由: `/weibo/user/:uid` -参数: uid,用户 id,博主主页打开控制台执行 `/uid=(\d+)/. exec(document.querySelector('.opt_box .btn_bed').getAttribute('action-data'))[1]` 获取 +参数: + +- uid, 用户 id, 博主主页打开控制台执行 `/uid=(\d+)/. exec(document.querySelector('.opt_box .btn_bed').getAttribute('action-data'))[1]` 获取 ::: warning 注意 -上述方案获取 V+ 付费博主会有数据缺失,所以这里提供另外一种方式,这种方式的缺点是描述不如上面的完善,建议优先选择第一种方案 +上述方案获取 V+ 付费博主会有数据缺失, 所以这里提供另外一种方式, 这种方式的缺点是描述不如上面的完善, 建议优先选择第一种方案 ::: @@ -805,7 +892,9 @@ rid: 排行榜分区 id,默认 0 路由: `/weibo/keyword/:keyword` -参数: keyword,你想订阅的微博关键词 +参数: + +- keyword, 你想订阅的微博关键词 ## 贴吧 @@ -815,7 +904,9 @@ rid: 排行榜分区 id,默认 0 路由: `/tieba/forum/:kw` -参数: `kw`,吧名 +参数: + +- kw, 吧名 ### 精品帖子 @@ -823,11 +914,11 @@ rid: 排行榜分区 id,默认 0 路由: `/tieba/forum/good/:kw/:cid?` -参数: +参数: -`kw`: 吧名 +- kw: 吧名 -`cid`: 精品分类,如果不传 `cid` 则获取全部分类 +- cid: 精品分类, 如果不传 `cid` 则获取全部分类 ### 帖子动态 @@ -835,9 +926,9 @@ rid: 排行榜分区 id,默认 0 路由: `/tieba/post/:id` -参数: +参数: -`id`: 帖子 ID +- id: 帖子 ID ### 楼主动态 @@ -845,9 +936,9 @@ rid: 排行榜分区 id,默认 0 路由: `/tieba/post/lz/:id` -参数: +参数: -`id`: 帖子 ID +- id: 帖子 ID ## 即刻 @@ -857,7 +948,9 @@ rid: 排行榜分区 id,默认 0 路由: `/jike/topic/:id` -参数: id,主题 id,可在即刻 web 端主题页或 APP 分享出来的主题页 URL 中找到 +参数: + +- id, 主题 id, 可在即刻 web 端主题页或 APP 分享出来的主题页 URL 中找到 ### 主题-广场 @@ -865,7 +958,9 @@ rid: 排行榜分区 id,默认 0 路由: `/jike/topic/square/:id` -参数: id,主题 id,可在即刻 web 端主题页或 APP 分享出来的主题页 URL 中找到 +参数: + +- id, 主题 id, 可在即刻 web 端主题页或 APP 分享出来的主题页 URL 中找到 ### 用户动态 @@ -873,13 +968,15 @@ rid: 排行榜分区 id,默认 0 路由: `/jike/user/:id` -参数: id,用户 id,可在即刻 web 端用户页 URL 中找到 +参数: + +- id, 用户 id, 可在即刻 web 端用户页 URL 中找到 ## 微信 ::: tip 提示 -公众号直接抓取困难,故目前提供即刻和瓦斯两种间接抓取方案,请自行选择 +公众号直接抓取困难, 故目前提供即刻和瓦斯两种间接抓取方案, 请自行选择 ::: @@ -887,9 +984,11 @@ rid: 排行榜分区 id,默认 0 举例: [https://rsshub.app/jike/topic/584b8ac671a288001154a115](https://rsshub.app/jike/topic/584b8ac671a288001154a115) -路由: `/jike/user/:id` +路由: `/jike/topic/:id` -参数: 参考 [即刻-主题-精选](#主题-精选) +参数: + +- id, 参考 [即刻-主题-精选](#主题-精选) ### 公众号(瓦斯来源) @@ -897,7 +996,9 @@ rid: 排行榜分区 id,默认 0 路由: `/wechat/wasi/:id` -参数: id,瓦斯公众号 id,可在[瓦斯](https://w.qnmlgb.tech/wx)搜索公众号,打开公众号页,在 URL 中找到 id +参数: + +- id, 瓦斯公众号 id, 可在[瓦斯](https://w.qnmlgb.tech/wx)搜索公众号, 打开公众号页, 在 URL 中找到 id ## 网易云音乐 @@ -907,7 +1008,9 @@ rid: 排行榜分区 id,默认 0 路由: `/ncm/playlist/:id` -参数: id,歌单 id,可在歌单页 URL 中找到 +参数: + +- id, 歌单 id, 可在歌单页 URL 中找到 ### 用户歌单 @@ -915,7 +1018,9 @@ rid: 排行榜分区 id,默认 0 路由: `/ncm/user/playlist/:uid` -参数: uid,用户 uid,可在用户主页 URL 中找到 +参数: + +- uid, 用户 uid, 可在用户主页 URL 中找到 ### 歌手专辑 @@ -923,7 +1028,9 @@ rid: 排行榜分区 id,默认 0 路由: `/ncm/artist/:id` -参数: id,歌手 id,可在歌手详情页 URL 中找到 +参数: + +- id, 歌手 id, 可在歌手详情页 URL 中找到 ### 电台节目 @@ -931,7 +1038,9 @@ rid: 排行榜分区 id,默认 0 路由: `/ncm/djradio/:id` -参数: id, 节目 id, 可在电台节目页 URL 中找到 +参数: + +- id, 节目 id, 可在电台节目页 URL 中找到 ## 掘金 @@ -941,7 +1050,9 @@ rid: 排行榜分区 id,默认 0 路由: `/juejin/category/:category` -参数: category,分类名 +参数: + +- category, 分类名 | 前端 | Android | iOS | 后端 | 设计 | 产品 | 工具资源 | 阅读 | 人工智能 | | -------- | ------- | --- | ------- | ------ | ------- | -------- | ------- | -------- | @@ -953,7 +1064,9 @@ rid: 排行榜分区 id,默认 0 路由: `/juejin/tag/:tag` -参数: tag,标签名,可在标签 URL 中找到 +参数: + +- tag, 标签名, 可在标签 URL 中找到 ### 热门 @@ -963,7 +1076,7 @@ rid: 排行榜分区 id,默认 0 参数: -category,分类名,必选 +- category, 分类名, 必选 | category | 标签 | | -------- | -------- | @@ -979,7 +1092,7 @@ category,分类名,必选 | devops | 运维 | | all | 全部 | -type,类型,必选 +- type, 类型, 必选 | type | 类型 | | ---------- | -------- | @@ -1019,7 +1132,9 @@ type,类型,必选 路由: `/jianshu/collection/:id` -参数: id,专题 id,可在专题页 URL 中找到 +参数: + +- id, 专题 id, 可在专题页 URL 中找到 ### 作者 @@ -1027,13 +1142,15 @@ type,类型,必选 路由: `/jianshu/user/:id` -参数: id,作者 id,可在作者主页 URL 中找到 +参数: + +- id, 作者 id, 可在作者主页 URL 中找到 ## 知乎 ::: warning 注意 -知乎反爬虫策略非常严格,以下演示经常失效,建议自搭 +知乎反爬虫策略非常严格, 以下演示经常失效, 建议自搭 ::: @@ -1043,7 +1160,9 @@ type,类型,必选 路由: `/zhihu/collection/:id` -参数: id,收藏夹 id,可在收藏夹页面 URL 中找到 +参数: + +- id, 收藏夹 id, 可在收藏夹页面 URL 中找到 ### 用户动态 @@ -1051,7 +1170,9 @@ type,类型,必选 路由: `/zhihu/people/activities/:id` -参数: id,用户 id,可在用户主页 URL 中找到 +参数: + +- id, 用户 id, 可在用户主页 URL 中找到 ### 用户回答 @@ -1059,7 +1180,9 @@ type,类型,必选 路由: `/zhihu/people/answers/:id` -参数: id,用户 id,可在用户主页 URL 中找到 +参数: + +- id, 用户 id, 可在用户主页 URL 中找到 ### 专栏 @@ -1067,13 +1190,15 @@ type,类型,必选 路由: `/zhihu/zhuanlan/:id` -参数: id,专栏 id,可在专栏主页 URL 中找到 +参数: + +- id, 专栏 id, 可在专栏主页 URL 中找到 ### 知乎日报 -举例:[https://rsshub.app/zhihu/daily](https://rsshub.app/zhihu/daily) +举例: [https://rsshub.app/zhihu/daily](https://rsshub.app/zhihu/daily) -路由:`/zhihu/daily` +路由: `/zhihu/daily` ## 自如 @@ -1085,19 +1210,19 @@ type,类型,必选 参数 -city: 城市,北京 bj;上海 sh;深圳 sz;杭州 hz;南京 nj;广州 gz;成都 cd;武汉 wh;天津 tj +- city: 城市, 北京 bj;上海 sh;深圳 sz;杭州 hz;南京 nj;广州 gz;成都 cd;武汉 wh;天津 tj -iswhole: 是否整租 +- iswhole: 是否整租 -room: 房间数 +- room: 房间数 -keyword: 关键词 +- keyword: 关键词 ## 快递 ::: warning 注意 -快递送达后请及时取消订阅,以免浪费服务器资源 +快递送达后请及时取消订阅, 以免浪费服务器资源 ::: @@ -1107,15 +1232,15 @@ keyword: 关键词 参数 -company: 快递公司代码,参考 [API URL 所支持的快递公司及参数说明](https://www.kuaidi100.com/download/api_kuaidi100_com%2820140729%29.doc) +- company: 快递公司代码, 参考 [API URL 所支持的快递公司及参数说明](https://www.kuaidi100.com/download/api_kuaidi100_com%2820140729%29.doc) -number: 快递单号 +- number: 快递单号 ## 妹子图 ::: warning 注意 -该网站在国外无法访问,故以下演示无效 +该网站在国外无法访问, 故以下演示无效 ::: @@ -1131,7 +1256,9 @@ number: 快递单号 路由: `/mzitu/category/:category` -参数:category,分类名 +参数: + +- category, 分类名 | 热门 | 推荐 | 性感妹子 | 日本妹子 | 台湾妹子 | 清纯妹子 | | ---- | ---- | -------- | -------- | -------- | -------- | @@ -1149,7 +1276,9 @@ number: 快递单号 路由: `/mzitu/tag/:tag` -参数: tag,专题名,可在专题页 URL 中找到 +参数: + +- tag, 专题名, 可在专题页 URL 中找到 ### 详情 @@ -1157,7 +1286,9 @@ number: 快递单号 路由: `/mzitu/post/:id` -参数: id,详情 id,可在详情页 URL 中找到 +参数: + +- id, 详情 id, 可在详情页 URL 中找到 ## pixiv @@ -1167,7 +1298,9 @@ number: 快递单号 路由: `/pixiv/user/bookmarks/:id` -参数: id,用户 id,可在用户主页 URL 中找到 +参数: + +- id, 用户 id, 可在用户主页 URL 中找到 ### 用户动态 @@ -1175,7 +1308,9 @@ number: 快递单号 路由: `/pixiv/user/:id` -参数: id,用户 id,可在用户主页 URL 中找到 +参数: + +- id, 用户 id, 可在用户主页 URL 中找到 ### 排行榜 @@ -1185,7 +1320,7 @@ number: 快递单号 参数 -mode: 排行榜类型 +- mode, 排行榜类型 | pixiv 日排行 | pixiv 周排行 | pixiv 月排行 | pixiv 受男性欢迎排行 | pixiv 受女性欢迎排行 | pixiv 原创作品排行 | pixiv 新人排行 | | ------------ | ------------ | ------------ | -------------------- | -------------------- | ------------------ | -------------- | @@ -1195,7 +1330,7 @@ mode: 排行榜类型 | ----------------- | ------------------------- | ------------------------- | ----------------- | ---------------- | | day_r18 | day_male_r18 | day_female_r18 | week_r18 | week_r18g | -date: 日期,取值形如 `2018-4-25` +- date, 日期, 取值形如 `2018-4-25` ## 豆瓣 @@ -1219,9 +1354,9 @@ date: 日期,取值形如 `2018-4-25` 参数 -score: 返回大于等于这个分数的电影 +- score: 返回大于等于这个分数的电影 -city: 城市的中文名,可选,默认北京 +- city: 城市的中文名, 可选, 默认北京 ### 即将上映的电影 @@ -1246,7 +1381,8 @@ city: 城市的中文名,可选,默认北京 路由: `/douban/group/:groupid` 参数: -groupid: 豆瓣小组的 id + +- groupid: 豆瓣小组的 id ### 浏览发现 @@ -1300,9 +1436,9 @@ groupid: 豆瓣小组的 id 参数 -project: 产品 ID +- project: 产品 ID -key: 产品密钥 +- key: 产品密钥 ## 开发者头条 @@ -1318,7 +1454,9 @@ key: 产品密钥 路由: `/toutiao/user/:id` -参数: id,独家号 id,可在对应独家号页 URL 中找到 +参数: + +- id, 独家号 id, 可在对应独家号页 URL 中找到 ## 今日头条 @@ -1328,19 +1466,23 @@ key: 产品密钥 路由: `/jinritoutiao/keyword/:keyword` -参数: keyword,关键词 +参数: + +- keyword, 关键词 ## 极客时间 ### 专栏文章 -> 极客时间专栏需要付费订阅,RSS 仅做更新提醒,不含付费内容。 +> 极客时间专栏需要付费订阅, 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 中找到 +参数: + +- cid, 专栏 id, 可从[全部专栏](https://time.geekbang.org/paid-content)进入专栏介绍页, 在 URL 中找到 ## Disqus @@ -1350,7 +1492,9 @@ key: 产品密钥 路由: `/disqus/posts/:forum` -参数: forum,网站的 disqus name +参数: + +- forum, 网站的 disqus name ## Twitter @@ -1360,7 +1504,9 @@ key: 产品密钥 路由: `/twitter/user/:id` -参数: id,用户 id +参数: + +- id, 用户 id ## Instagram @@ -1370,7 +1516,9 @@ key: 产品密钥 路由: `/instagram/user/:id` -参数: id,用户 id +参数: + +- id, 用户 id ## Youtube @@ -1380,7 +1528,9 @@ key: 产品密钥 路由: `/youtube/user/:username` -参数: username,用户名 +参数: + +- username, 用户名 ### 频道 @@ -1388,7 +1538,9 @@ key: 产品密钥 路由: `/youtube/channel/:id` -参数: id,频道 id +参数: + +- id, 频道 id ## 爱奇艺 @@ -1398,7 +1550,9 @@ key: 产品密钥 路由: `/iqiyi/dongman/:id` -参数: id,动漫 id,可在该动漫主页 URL 中找到(不包括`.html`) +参数: + +- id, 动漫 id, 可在该动漫主页 URL 中找到(不包括`.html`) ## Dribbble @@ -1412,7 +1566,9 @@ key: 产品密钥 路由: `/dribbble/popular/:timeframe?` -参数: timeframe,可选,时间维度,支持 week month year ever +参数: + +- timeframe, 可选, 时间维度, 支持 week month year ever ### 用户(团队) @@ -1420,7 +1576,9 @@ key: 产品密钥 路由: `/dribbble/user/:name` -参数: name,用户名,可在该用户主页 URL 中找到 +参数: + +- name, 用户名, 可在该用户主页 URL 中找到 ### 关键词 @@ -1428,7 +1586,9 @@ key: 产品密钥 路由: `/dribbble/keyword/:keyword` -参数: keyword,想要订阅的关键词 +参数: + +- keyword, 想要订阅的关键词 ## 斗鱼 @@ -1438,7 +1598,9 @@ key: 产品密钥 路由: `/douyu/room/:id` -参数: id,直播间 id,可在主播直播间页 URL 中找到 +参数: + +- id, 直播间 id, 可在主播直播间页 URL 中找到 ## 熊猫直播 @@ -1448,7 +1610,9 @@ key: 产品密钥 路由: `/panda/room/:id` -参数: id,直播间 id,可在主播直播间页 URL 中找到 +参数: + +- id, 直播间 id, 可在主播直播间页 URL 中找到 ## V2EX @@ -1458,7 +1622,9 @@ key: 产品密钥 路由: `/v2ex/topics/:type` -参数: type: hot 或 latest +参数: + +- type: hot 或 latest ## Telegram @@ -1466,7 +1632,7 @@ key: 产品密钥 ::: tip 提示 -订阅要求:将机器人 [@RSSHub_bot](https://t.me/RSSHub_bot) 加为频道管理员,然后发一条消息后才可正常获取数据 +订阅要求: 将机器人 [@RSSHub_bot](https://t.me/RSSHub_bot) 加为频道管理员, 然后发一条消息后才可正常获取数据 ::: @@ -1474,7 +1640,9 @@ key: 产品密钥 路由: `/telegram/channel/:username` -参数: username,频道 username +参数: + +- username, 频道 username ### 贴纸包 @@ -1482,7 +1650,9 @@ key: 产品密钥 路由: `/telegram/stickerpack/:name` -参数: name,贴纸包 id,可在分享贴纸获得的 URL 中找到 +参数: + +- name, 贴纸包 id, 可在分享贴纸获得的 URL 中找到 ## Readhub @@ -1492,7 +1662,9 @@ key: 产品密钥 路由: `/readhub/category/:category` -参数: category,分类名 +参数: + +- category, 分类名 | 热门话题 | 科技动态 | 开发者资讯 | 区块链快讯 | | -------- | -------- | ---------- | ---------- | @@ -1504,7 +1676,7 @@ key: 产品密钥 - tags 可以在 [konachan](https://konachan.com/post) 选好后, 复制其 URL 中 tags= 后的参数 - 路由可选 `/konachan` 或 `/konachan.com` 或 `/konachan.net`, 其中前两者相同, `.net` 是全年龄健康的壁纸 ♡ -- 网站提供了 Posts 订阅:https://konachan.com/post/piclens?tags=[tags] +- 网站提供了 Posts 订阅: https://konachan.com/post/piclens?tags=[tags] ::: @@ -1526,7 +1698,7 @@ key: 产品密钥 ::: tip 提示 -- 网站提供了 Posts 订阅:https://yande.re/post/piclens?tags=[tags] +- 网站提供了 Posts 订阅: https://yande.re/post/piclens?tags=[tags] ::: @@ -1562,7 +1734,9 @@ GitHub 官方也提供了一些 RSS: 路由: `/github/repos/:user` -参数: user,用户名 +参数: + +- user, 用户名 ### Trending @@ -1576,9 +1750,9 @@ GitHub 官方也提供了一些 RSS: 参数: -since,时间跨度,可在 [Trending 页](https://github.com/trending/javascript?since=monthly) URL 中找到,可选 daily weekly monthly +- since, 时间跨度, 可在 [Trending 页](https://github.com/trending/javascript?since=monthly) URL 中找到, 可选 daily weekly monthly -language,语言,可在 [Trending 页](https://github.com/trending/javascript?since=monthly) URL 中找到 +- language, 语言, 可在 [Trending 页](https://github.com/trending/javascript?since=monthly) URL 中找到 ### 仓库 Issue @@ -1588,8 +1762,9 @@ language,语言,可在 [Trending 页](https://github.com/trending/javascript 参数: -user,用户名 -repo,仓库名 +- user, 用户名 + +- repo, 仓库名 ### 用户 Followers @@ -1597,7 +1772,9 @@ repo,仓库名 路由: `/github/user/followers/:user` -参数: user,用户名 +参数: + +- user, 用户名 ### 仓库 Stars @@ -1607,8 +1784,9 @@ repo,仓库名 参数: -user,用户名 -repo,仓库名 +- user, 用户名 + +- repo, 仓库名 ## 3DMGame @@ -1626,7 +1804,9 @@ repo,仓库名 路由: `/3dm/:name/news` -参数: name,游戏的编号可以在专题页的 url 中找到 +参数: + +- name, 游戏的编号可以在专题页的 url 中找到 ### 攻略 @@ -1634,7 +1814,9 @@ repo,仓库名 路由: `/3dm/:name/gl` -参数: name,游戏的编号可以在专题页的 url 中找到 +参数: + +- name, 游戏的编号可以在专题页的 url 中找到 ### 下载 @@ -1642,7 +1824,9 @@ repo,仓库名 路由: `/3dm/:name/download` -参数: name,游戏的编号可以在专题页的 url 中找到 +参数: + +- name, 游戏的编号可以在专题页的 url 中找到 ## 喜马拉雅 @@ -1651,7 +1835,7 @@ repo,仓库名 ::: warning 注意 **付费内容可获取更新但无法收听** -目前支持泛用型播客订阅的[输出格式](https://docs.rsshub.app/#输出格式)中标明的格式只有 rss 支持,也就是说你**只能使用**以下链接来订阅播客: +目前支持泛用型播客订阅的[输出格式](https://docs.rsshub.app/#输出格式)中标明的格式只有 rss 支持, 也就是说你**只能使用**以下链接来订阅播客: - https://rsshub.app/ximalaya/album/299146/ - https://rsshub.app/ximalaya/album/299146.rss @@ -1664,7 +1848,7 @@ repo,仓库名 参数: -id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 +- id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 ::: tip 提示 @@ -1676,7 +1860,7 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 ::: tip 提示 -网站提供了全部种子的 RSS:https://eztv.ag/ezrss.xml +网站提供了全部种子的 RSS: https://eztv.ag/ezrss.xml ::: @@ -1686,13 +1870,15 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 路由: `/eztv/torrents/:imdb_id` -参数: imdb_id,想搜寻的 show 的种子所对应的 IMDB ID,可在 [IMDB](https://www.imdb.com) 官网找到 +参数: + +- imdb_id, 想搜寻的 show 的种子所对应的 IMDB ID, 可在 [IMDB](https://www.imdb.com) 官网找到 ## 什么值得买 ::: tip 提示 -网站也提供了部分 RSS:https://www.smzdm.com/dingyue +网站也提供了部分 RSS: https://www.smzdm.com/dingyue ::: @@ -1702,7 +1888,9 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 路由: `/smzdm/keyword/:keyword` -参数: keyword,你想订阅的关键词 +参数: + +- keyword, 你想订阅的关键词 ### 排行榜 @@ -1712,13 +1900,13 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 参数 -**rank_type** +- rank_type | 好价品类榜 | 好价电商榜 | 海淘 TOP 榜 | 好文排行榜 | 好物排行榜 | | ---------- | ---------- | ----------- | ---------- | ---------- | | pinlei | dianshang | haitao | haowen | haowu | -**rank_id** +- rank_id 好价品类榜 @@ -1750,7 +1938,7 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 | ------ | -------- | -------- | -------- | | hwall | zc | nb | hw | -**hour**: 时间跨度 +- hour, 时间跨度 ## 停水通知 @@ -1788,7 +1976,9 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 路由: `/mihoyo/bh2/:type` -参数:type,公告种类 +参数: + +- type, 公告种类 | 最新公告 | 版本信息 | 祈愿信息 | 活动介绍 | | -------- | -------- | -------- | -------- | @@ -1800,7 +1990,9 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 路由: `/mihoyo/bh3/:type` -参数:type,公告种类 +参数: + +- type, 公告种类 | 最新 | 公告 | 新闻 | 活动 | 攻略 | | ------ | ------ | ---- | -------- | -------- | @@ -1814,7 +2006,9 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 路由: `/t66y/:id` -参数: id,分区 id,可在分区页 URL 中找到 +参数: + +- id, 分区 id, 可在分区页 URL 中找到 | 亚洲无码原创区 | 亚洲有码原创区 | 欧美原创区 | 动漫原创区 | 国产原创区 | | -------------- | -------------- | ---------- | ---------- | ---------- | @@ -1844,7 +2038,9 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 路由: `/gcores/category/:category` -参数: category,分类名 +参数: + +- category, 分类名 | 文章 | 新闻 | 电台 | | ---- | ---- | ---- | @@ -1860,17 +2056,21 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 [https://rsshub.app/natgeo/news/ngnews](https://rsshub.app/natgeo/news/ngnews) -路由: `/natgeo/:cat/:type?` +路由: `/natgeo/:cat/:type?` -参数: cat, 分类; type, 类型 +参数: -可在 url 中获取,例如`https://www.natgeomedia.com/category/news/ngnews`对应 cat, type 分别为 news, ngnews +- cat, 分类 + +- type, 类型 + +可在 url 中获取, 例如`https://www.natgeomedia.com/category/news/ngnews`对应 cat, type 分别为 news, ngnews ## ONE · 一个 ### 图片文字问答 -举例: [https://rsshub.app/one](https://rsshub.app/one) +举例: [https://rsshub.app/one](https://rsshub.app/one) 路由: `/one` @@ -1884,7 +2084,9 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 路由: `/tuicool/mags/:type` -参数: type +参数: + +- type | 编程狂人 | 设计匠艺 | 创业周刊 | 科技周刊 | | -------- | -------- | -------- | -------- | @@ -1894,17 +2096,19 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 ### Next 主题 -举例:[http://rsshub.app/hexo/next/fengkx.top](http://rsshub.app/hexo/next/fengkx.top) +举例: [http://rsshub.app/hexo/next/fengkx.top](http://rsshub.app/hexo/next/fengkx.top) -路由: `/hexo/next/:url` +路由: `/hexo/next/:url` -参数: url 博客 Url 不带协议头 +参数: + +- url, 博客 Url 不带协议头 ## 小米 ### 众筹 -举例: [https://rsshub.app/mi/crowdfunding](https://rsshub.app/mi/crowdfunding) +举例: [https://rsshub.app/mi/crowdfunding](https://rsshub.app/mi/crowdfunding) 路由: `/mi/crowdfunding` @@ -1914,59 +2118,65 @@ id, 专辑 id, 可在对应**专辑**页面的 URL 中找到 ### 运动日记 -举例:[https://rsshub.app/keep/user/556b02c1ab59390afea671ea](https://rsshub.app/keep/user/556b02c1ab59390afea671ea) +举例: [https://rsshub.app/keep/user/556b02c1ab59390afea671ea](https://rsshub.app/keep/user/556b02c1ab59390afea671ea) 路由: `/keep/user/:id` -参数: id,Keep 用户 id +参数: + +- id, Keep 用户 id ## 起点 ### 章节 -举例: [https://rsshub.app/qidian/chapter/1010400217](https://rsshub.app/qidian/chapter/1010400217) +举例: [https://rsshub.app/qidian/chapter/1010400217](https://rsshub.app/qidian/chapter/1010400217) -路由: `/qidian/chapter/:id` +路由: `/qidian/chapter/:id` -参数: id,小说 id,可在对应小说页 URL 中找到 +参数: + +- id, 小说 id, 可在对应小说页 URL 中找到 ### 讨论区 -举例: [https://rsshub.app/qidian/forum/1010400217](https://rsshub.app/qidian/forum/1010400217) +举例: [https://rsshub.app/qidian/forum/1010400217](https://rsshub.app/qidian/forum/1010400217) -路由: `/qidian/forum/:id` +路由: `/qidian/forum/:id` -参数: id,小说 id,可在对应小说页 URL 中找到 +参数: + +- id, 小说 id, 可在对应小说页 URL 中找到 ## 懂球帝 ### 早报 -举例: [https://rsshub.app/dongqiudi/daily](https://rsshub.app/dongqiudi/daily) +举例: [https://rsshub.app/dongqiudi/daily](https://rsshub.app/dongqiudi/daily) -路由: `/dongqiudi/daily` +路由: `/dongqiudi/daily` -参数:无 +参数: 无 ### 足球赛果 -举例: 皇家马德里:[https://rsshub.app/dongqiudi/result/50001755](https://rsshub.app/dongqiudi/result/50001755) +举例: 皇家马德里: [https://rsshub.app/dongqiudi/result/50001755](https://rsshub.app/dongqiudi/result/50001755) -路由: `/dongqiudi/result/:team` +路由: `/dongqiudi/result/:team` -参数: +参数: -team,球队 id,可在[懂球帝数据](https://www.dongqiudi.com/data)中找到 +- team, 球队 id, 可在[懂球帝数据](https://www.dongqiudi.com/data)中找到 ## 维基百科 ### 中国大陆新闻动态 -举例: [https://rsshub.app/wikipedia/mainland](https://rsshub.app/wikipedia/mainland) +举例: [https://rsshub.app/wikipedia/mainland](https://rsshub.app/wikipedia/mainland) -路由: `/wikipedia/mainland` +路由: `/wikipedia/mainland` -参数:无 +参数: 无 ## 雪球 @@ -1978,9 +2188,9 @@ team,球队 id,可在[懂球帝数据](https://www.dongqiudi.com/data)中找 参数: -id,用户 id,可在用户主页 URL 中找到 +- id, 用户 id, 可在用户主页 URL 中找到 -type,可选,动态的类型,不填则默认全部 +- type, 可选, 动态的类型, 不填则默认全部 | 原发布 | 长文 | 问答 | 热门 | 交易 | | ------ | ---- | ---- | ---- | ---- | @@ -1994,49 +2204,49 @@ type,可选,动态的类型,不填则默认全部 参数: -id,用户 id,可在用户主页 URL 中找到 +- id, 用户 id, 可在用户主页 URL 中找到 ## 中国美术馆 ### 通知公告 -举例: [https://rsshub.app/namoc/announcement](https://rsshub.app/namoc/announcement) +举例: [https://rsshub.app/namoc/announcement](https://rsshub.app/namoc/announcement) -路由: `/namoc/announcement` +路由: `/namoc/announcement` -参数:无 +参数: 无 ### 新闻 -举例: [https://rsshub.app/namoc/news](https://rsshub.app/namoc/news) +举例: [https://rsshub.app/namoc/news](https://rsshub.app/namoc/news) -路由: `/namoc/news` +路由: `/namoc/news` -参数:无 +参数: 无 ### 媒体联报 -举例: [https://rsshub.app/namoc/media](https://rsshub.app/namoc/media) +举例: [https://rsshub.app/namoc/media](https://rsshub.app/namoc/media) -路由: `/namoc/media` +路由: `/namoc/media` -参数:无 +参数: 无 ### 展览预告 -举例: [https://rsshub.app/namoc/exhibition](https://rsshub.app/namoc/exhibition) +举例: [https://rsshub.app/namoc/exhibition](https://rsshub.app/namoc/exhibition) -路由: `/namoc/exhibition` +路由: `/namoc/exhibition` -参数:无 +参数: 无 ### 焦点专题 -举例: [https://rsshub.app/namoc/specials](https://rsshub.app/namoc/specials) +举例: [https://rsshub.app/namoc/specials](https://rsshub.app/namoc/specials) -路由: `/namoc/specials` +路由: `/namoc/specials` -参数:无 +参数: 无 ## Greasy Fork @@ -2048,9 +2258,9 @@ id,用户 id,可在用户主页 URL 中找到 参数: -language,语言,可在网站右上角找到, `all` 为所有语言 +- language, 语言, 可在网站右上角找到, `all` 为所有语言 -domain,按脚本生效域名过滤,可选 +- domain, 按脚本生效域名过滤, 可选 ## LinkedKeeper @@ -2062,9 +2272,9 @@ domain,按脚本生效域名过滤,可选 参数: -type,博文分类,为 URL 中 `.action` 的文件名 +- type, 博文分类, 为 URL 中 `.action` 的文件名 -id,可选,分区或标签的 ID,对应 URL 中的 `sid` 或 `tid` +- id, 可选, 分区或标签的 ID, 对应 URL 中的 `sid` 或 `tid` ## 开源中国 @@ -2074,26 +2284,26 @@ id,可选,分区或标签的 ID,对应 URL 中的 `sid` 或 `tid` 路由: `/oschina/news` -参数:无 +参数: 无 ## All the Flight Deals ### 特价机票 -举例: [https://rsshub.app/atfd/us+new york,gb+london/1](https://rsshub.app/atfd/us+new%20york,gb+london/1) +举例: [https://rsshub.app/atfd/us+new york, gb+london/1](https://rsshub.app/atfd/us+new%20york, gb+london/1) 路由: `/atfd/:locations/:nearby?` 参数: -locations: 始发地,由「国家,参见 ISO 3166-1 国家代码」和「城市」两部分组成: +- locations: 始发地, 由「国家, 参见 ISO 3166-1 国家代码」和「城市」两部分组成: -1. 单个始发地,例如 「us+new york」,[https://rsshub.app/atfd/us+new york](https://rsshub.app/atfd/us+new%20york) -2. 逗号分隔多个始发地,例如 「us+new york,gb+london」,[https://rsshub.app/atfd/us+new york,gb+london/](https://rsshub.app/atfd/us+new%20york,gb+london/) +1. 单个始发地, 例如 「us+new york」, [https://rsshub.app/atfd/us+new york](https://rsshub.app/atfd/us+new%20york) +2. 逗号分隔多个始发地, 例如 「us+new york, gb+london」, [https://rsshub.app/atfd/us+new york, gb+london/](https://rsshub.app/atfd/us+new%20york, gb+london/) ISO 3166-1 国家代码列表请参见 [维基百科 ISO_3166-1](https://zh.wikipedia.org/wiki/ISO_3166-1) -nearby: 可选 0 或 1,默认 0 为不包括,是否包括临近机场 +- nearby: 可选 0 或 1, 默认 0 为不包括, 是否包括临近机场 ## Google @@ -2101,7 +2311,7 @@ nearby: 可选 0 或 1,默认 0 为不包括,是否包括临近机场 ::: warning 注意 -谷歌学术反爬虫机制非常严格,以下 demo 无法确保可用性。私人部署可能会提高稳定性。 +谷歌学术反爬虫机制非常严格, 以下 demo 无法确保可用性. 私人部署可能会提高稳定性. ::: @@ -2109,10 +2319,12 @@ nearby: 可选 0 或 1,默认 0 为不包括,是否包括临近机场 路由: `/google/scholar/:query` -参数:query: 查询语句,支持「简单」和「高级」两种模式: +参数: -1. 简单模式,例如「data visualization」,[https://rsshub.app/google/scholar/data+visualization](https://rsshub.app/google/scholar/data+visualization)。 -2. 高级模式,前往 [Google Scholar](https://scholar.google.com/schhp?hl=zh-cn&as_sdt=0,5),点击左上角,选择高级搜索并提交查询。此时 URL 应为:[https://scholar.google.com/scholar?as_q=data+visualization&as_epq=&as_oq=&as_eq=&as_occt=any&as_sauthors=&as_publication=&as_ylo=2018&as_yhi=&hl=zh-CN&as_sdt=0%2C5](https://scholar.google.com/scholar?as_q=data+visualization&as_epq=&as_oq=&as_eq=&as_occt=any&as_sauthors=&as_publication=&as_ylo=2018&as_yhi=&hl=zh-CN&as_sdt=0%2C5),复制`https://scholar.google.com/scholar?`后的所有语句作为本路由的查询参数。例子所对应的完整路由为[https://rsshub.app/google/scholar/as_q=data+visualization&as_epq=&as_oq=&as_eq=&as_occt=any&as_sauthors=&as_publication=&as_ylo=2018&as_yhi=&hl=zh-CN&as_sdt=0%2C5](https://rsshub.app/google/scholar/as_q=data+visualization&as_epq=&as_oq=&as_eq=&as_occt=any&as_sauthors=&as_publication=&as_ylo=2018&as_yhi=&hl=zh-CN&as_sdt=0%2C5)。 +- query: 查询语句, 支持「简单」和「高级」两种模式: + +1. 简单模式, 例如「data visualization」, [https://rsshub.app/google/scholar/data+visualization](https://rsshub.app/google/scholar/data+visualization). +2. 高级模式, 前往 [Google Scholar](https://scholar.google.com/schhp?hl=zh-cn&as_sdt=0, 5), 点击左上角, 选择高级搜索并提交查询. 此时 URL 应为: [https://scholar.google.com/scholar?as_q=data+visualization&as_epq=&as_oq=&as_eq=&as_occt=any&as_sauthors=&as_publication=&as_ylo=2018&as_yhi=&hl=zh-CN&as_sdt=0%2C5](https://scholar.google.com/scholar?as_q=data+visualization&as_epq=&as_oq=&as_eq=&as_occt=any&as_sauthors=&as_publication=&as_ylo=2018&as_yhi=&hl=zh-CN&as_sdt=0%2C5), 复制`https://scholar.google.com/scholar?`后的所有语句作为本路由的查询参数. 例子所对应的完整路由为[https://rsshub.app/google/scholar/as_q=data+visualization&as_epq=&as_oq=&as_eq=&as_occt=any&as_sauthors=&as_publication=&as_ylo=2018&as_yhi=&hl=zh-CN&as_sdt=0%2C5](https://rsshub.app/google/scholar/as_q=data+visualization&as_epq=&as_oq=&as_eq=&as_occt=any&as_sauthors=&as_publication=&as_ylo=2018&as_yhi=&hl=zh-CN&as_sdt=0%2C5). ## Awesome Pigtails @@ -2134,9 +2346,9 @@ nearby: 可选 0 或 1,默认 0 为不包括,是否包括临近机场 参数: -city,必选,如 shanghai、beijing +- city, 必选, 如 shanghai、beijing -type,可选,不填则默认为 `all` +- type, 可选, 不填则默认为 `all` | 全部 | 最新 | 热门 | 即将结束 | 即将开始 | 已结束 | | ---- | ------ | ---- | -------- | -------- | -------- | @@ -2146,7 +2358,7 @@ type,可选,不填则默认为 `all` ### Hopper 特价机票 -本路由返回由 Hopper 算法给出的现在可购入最便宜的折扣机票,通常包含 6 个结果。出行日期将由 Hopper 算法定义,可能是明天也可能是 10 个月后。 +本路由返回由 Hopper 算法给出的现在可购入最便宜的折扣机票, 通常包含 6 个结果. 出行日期将由 Hopper 算法定义, 可能是明天也可能是 10 个月后. 举例: 伦敦希思罗 ✈ 北京首都国际 [https://rsshub.app/hopper/1/LHR/PEK](https://rsshub.app/hopper/1/LHR/PEK) @@ -2154,13 +2366,13 @@ type,可选,不填则默认为 `all` 参数: -lowestOnly: 是否只返回最低价机票,`1`:是,其他任意值:否 +- lowestOnly: 是否只返回最低价机票, `1`: 是, 其他任意值: 否 -from: 始发地,IATA 国际航空运输协会机场代码 +- from: 始发地, IATA 国际航空运输协会机场代码 -to: 目的地,IATA 国际航空运输协会机场代码,可选,缺省则目的地为`任意城市` +- to: 目的地, IATA 国际航空运输协会机场代码, 可选, 缺省则目的地为`任意城市` -IATA 国际航空运输协会机场代码,参见[维基百科 国际航空运输协会机场代码]() +- IATA 国际航空运输协会机场代码, 参见[维基百科 国际航空运输协会机场代码]() ## 马蜂窝 @@ -2172,7 +2384,7 @@ IATA 国际航空运输协会机场代码,参见[维基百科 国际航空运 参数: -type,必选,目前支持两种,`hot` 代表热门游记,`latest` 代表最新游记 +- type, 必选, 目前支持两种, `hot` 代表热门游记, `latest` 代表最新游记 ## 中国地震局 @@ -2192,12 +2404,14 @@ type,必选,目前支持两种,`hot` 代表热门游记,`latest` 代表 路由: `/novel/biquge/:id` -参数: id,小说 id,可在对应小说页 URL 中找到 +参数: -举例网址: https://www.biquge5200.cc/52_52542/ +- id, 小说 id, 可在对应小说页 URL 中找到 + +举例网址: https://www.biquge5200.cc/52_52542/ ::: tip 提示 -由于笔趣阁网站有多个,各站点小说对应的小说 id 不同。此 feed 只对应在[`www.biquge5200.com`](https://www.biquge5200.com/)中的小说 id。 +由于笔趣阁网站有多个, 各站点小说对应的小说 id 不同. 此 feed 只对应在[`www.biquge5200.com`](https://www.biquge5200.com/)中的小说 id. ::: @@ -2207,9 +2421,11 @@ type,必选,目前支持两种,`hot` 代表热门游记,`latest` 代表 路由: `/novel/uukanshu/:id` -参数: id,小说 id,可在对应小说页 URL 中找到 +参数: -举例网址:https://www.uukanshu.com/b/49621 +- id, 小说 id, 可在对应小说页 URL 中找到 + +举例网址: https://www.uukanshu.com/b/49621 ### 文学迷 @@ -2217,9 +2433,11 @@ type,必选,目前支持两种,`hot` 代表热门游记,`latest` 代表 路由: `/novel/wenxuemi/:id1/:id2` -参数: id1/id2,小说网站链接最后的数字,可在对应小说页 URL 中找到 +参数: -举例网址:https://www.wenxuemi.com/files/article/html/6/6144/ +- id1/id2, 小说网站链接最后的数字, 可在对应小说页 URL 中找到 + +举例网址: https://www.wenxuemi.com/files/article/html/6/6144/ ## 中国气象网 @@ -2241,7 +2459,7 @@ type,必选,目前支持两种,`hot` 代表热门游记,`latest` 代表 参数: -type,分类 +- type, 分类 | Trending | Most stars | All | | -------- | ---------- | --- | diff --git a/docs/en/README.md b/docs/en/README.md index b5bd23de4..cb2997d0b 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -160,7 +160,19 @@ Parameters: - type, App type,either `iOS` or `mac` -- id, App Store app id, obtain from the app URL https://itunes.apple.com/cn/app/id1152443474, in this case, `id1152443474`. +- id, App Store app id, obtain from the app URL https://itunes.apple.com/us/app/id1152443474, in this case, `id1152443474`. + +### App Store/Mac App Store In-App-Purchase Price Drop Alert + +Eg: [https://rsshub.app/appstore/iap/cn/id1152443474](https://rsshub.app/appstore/price/cn/id1152443474) + +Route: `/appstore/iap/:country/:id` + +Parameters: + +- country, App Store Country, obtain from the app URL https://itunes.apple.com/us/app/id953286746, in this case, `us`. + +- id, App Store app id, obtain from the app URL https://itunes.apple.com/us/app/id953286746, in this case, `id953286746`. ## pixiv diff --git a/router.js b/router.js index 29f7c7d00..f47155171 100755 --- a/router.js +++ b/router.js @@ -434,6 +434,7 @@ router.get('/imuseum/:city/:type', require('./routes/imuseum')); // AppStore router.get('/appstore/update/:country/:id', require('./routes/appstore/update')); router.get('/appstore/price/:country/:type/:id', require('./routes/appstore/price')); +router.get('/appstore/iap/:country/:id', require('./routes/appstore/in-app-purchase')); // Hopper router.get('/hopper/:lowestOnly/:from/:to?', require('./routes/hopper/index')); diff --git a/routes/appstore/in-app-purchase.js b/routes/appstore/in-app-purchase.js new file mode 100644 index 000000000..c828bdd5c --- /dev/null +++ b/routes/appstore/in-app-purchase.js @@ -0,0 +1,50 @@ +const axios = require('../../utils/axios'); +const url = require('url'); +const cheerio = require('cheerio'); + +module.exports = async (ctx) => { + const country = ctx.params.country; + const id = ctx.params.id; + const link = `https://itunes.apple.com/${country}/app/${id}`; + const target = url.resolve(link, '?mt=8#see-all/in-app-purchases'); + + const res = await axios.get(target); + const $ = cheerio.load(res.data); + const titleTemp = $('h1') + .contents() + .first() + .text() + .trim(); + const list = $('div.l-row div.we-lockup'); + const item = list + .map((i, e) => ({ + link, + guid: + `${titleTemp} ${$(e) + .find('h3.we-lockup__title') + .text() + .trim()} is now ${$(e) + .find('h5') + .text() + .trim()}` + Date.now(), + title: `${titleTemp} ${$(e) + .find('h3.we-lockup__title') + .text() + .trim()} is now ${$(e) + .find('h5') + .text() + .trim()}`, + pubDate: new Date(Date.now()).toUTCString(), + })) + .get(); + + const platform = $('.we-localnav__title__product').text(); + + const title = `${country === 'cn' ? '内购限免提醒' : 'IAP price watcher'}: ${titleTemp} for ${platform.startsWith('App') ? 'iOS' : 'macOS'}`; + + ctx.state.data = { + title, + link, + item, + }; +};