diff --git a/README.md b/README.md index 8685b472a..aacebfe55 100644 --- a/README.md +++ b/README.md @@ -13,128 +13,128 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇 当前支持列表: -* RSSHub - * 支持的 RSS -* bilibili - * 番剧 - * UP 主投稿 - * UP 主动态 - * UP 主收藏夹 - * UP 主投币视频 - * UP 主粉丝 - * UP 主关注用户 - * 分区视频 - * 视频评论 - * link 公告 - * 直播开播 - * 直播搜索 - * 直播分区 -* 微博 - * 博主 - * 关键词 -* 即刻 - * 主题 - * 用户动态 -* 网易云音乐 - * 歌单歌曲 - * 用户歌单 - * 歌手专辑 -* 掘金 - * 分类 -* 简书 - * 首页 - * 7 日热门 - * 30 日热门 - * 专题 - * 作者 -* 知乎 - * 收藏夹 - * 用户动态 - * 用户回答 - * 专栏 - * 知乎日报 -* 自如 - * 房源 -* 快递 -* 贴吧 - * 帖子列表 -* 妹子图 - * 首页(最新) - * 分类 - * 所有专题 - * 专题详情 - * 详情 -* pixiv - * 用户收藏 - * 用户动态 - * 排行榜 -* 豆瓣 - * 正在上映的电影 - * 正在上映的高分电影 - * 即将上映的电影 - * 北美票房榜 -* 煎蛋 - * 无聊图 -* 喷嚏 - * 图卦 -* Dockone - * 周报 -* 腾讯吐个槽 - * 吐槽新帖 -* 笔趣阁 - * 小说章节 -* 开发者头条 - * 今天头条 - * 独家号 -* 今日头条 - * 关键词 -* 极客时间 - * 专栏文章 -* 央视新闻 - * 专题 -* Disqus - * 评论 -* Twitter - * 用户 -* Instagram - * 用户 -* Youtube - * 用户 - * 频道 -* 爱奇艺 - * 动漫 -* 南方周末 - * 新闻 -* Dribbble - * 流行 - * 用户(团队) - * 关键词 -* 斗鱼 - * 直播间开播 -* 熊猫直播 - * 直播间开播下播 -* V2EX - * 最热/最新主题 -* Telegram - * 频道 -* Readhub - * 分类 -* GitHub - * 用户仓库 -* Konachan.com Anime Wallpapers - * posts - * Popular Recent Posts -* yande.re - * posts - * Popular Recent Posts +- RSSHub + - 支持的 RSS +- bilibili + - 番剧 + - UP 主投稿 + - UP 主动态 + - UP 主收藏夹 + - UP 主投币视频 + - UP 主粉丝 + - UP 主关注用户 + - 分区视频 + - 视频评论 + - link 公告 + - 直播开播 + - 直播搜索 + - 直播分区 +- 微博 + - 博主 + - 关键词 +- 即刻 + - 主题 + - 用户动态 +- 网易云音乐 + - 歌单歌曲 + - 用户歌单 + - 歌手专辑 +- 掘金 + - 分类 +- 简书 + - 首页 + - 7 日热门 + - 30 日热门 + - 专题 + - 作者 +- 知乎 + - 收藏夹 + - 用户动态 + - 用户回答 + - 专栏 + - 知乎日报 +- 自如 + - 房源 +- 快递 +- 贴吧 + - 帖子列表 +- 妹子图 + - 首页(最新) + - 分类 + - 所有专题 + - 专题详情 + - 详情 +- pixiv + - 用户收藏 + - 用户动态 + - 排行榜 +- 豆瓣 + - 正在上映的电影 + - 正在上映的高分电影 + - 即将上映的电影 + - 北美票房榜 +- 煎蛋 + - 无聊图 +- 喷嚏 + - 图卦 +- Dockone + - 周报 +- 腾讯吐个槽 + - 吐槽新帖 +- 笔趣阁 + - 小说章节 +- 开发者头条 + - 今天头条 + - 独家号 +- 今日头条 + - 关键词 +- 极客时间 + - 专栏文章 +- 央视新闻 + - 专题 +- Disqus + - 评论 +- Twitter + - 用户 +- Instagram + - 用户 +- Youtube + - 用户 + - 频道 +- 爱奇艺 + - 动漫 +- 南方周末 + - 新闻 +- Dribbble + - 流行 + - 用户(团队) + - 关键词 +- 斗鱼 + - 直播间开播 +- 熊猫直播 + - 直播间开播下播 +- V2EX + - 最热/最新主题 +- Telegram + - 频道 +- Readhub + - 分类 +- GitHub + - 用户仓库 +- Konachan.com Anime Wallpapers + - posts + - Popular Recent Posts +- yande.re + - posts + - Popular Recent Posts ## 鸣谢 ### Sponsors -* [rixCloud](https://rixcloud.us) +- [rixCloud](https://rixcloud.us) -* [Sayori Studio](https://t.me/SayoriStudio) +- [Sayori Studio](https://t.me/SayoriStudio) [![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/support/) @@ -172,18 +172,18 @@ RSSHub 是采用 MIT 许可的开源项目,使用完全免费。 但是随着 我们通过以下方式接受赞助: -* [微信支付](https://i.imgur.com/aq6PtWa.png) -* [支付宝](https://i.imgur.com/wv1Pj2k.png) -* [Paypal](https://www.paypal.me/DIYgod) -* 比特币: 13CwQLHzPYm2tewNMSJBeArbbRM5NSmCD1 +- [微信支付](https://i.imgur.com/aq6PtWa.png) +- [支付宝](https://i.imgur.com/wv1Pj2k.png) +- [Paypal](https://www.paypal.me/DIYgod) +- 比特币: 13CwQLHzPYm2tewNMSJBeArbbRM5NSmCD1 ### 周期性赞助 周期性赞助可以获得额外的回报,比如你的名字 会出现在 RSSHub 的 GitHub 仓库和现在我们的官网中。 -* 通过 [OpenCollective](https://opencollective.com/RSSHub) 赞助成为 backer 或 sponsor -* 通过 [Patreon](https://www.patreon.com/DIYgod) 赞助成为 backer -* 给我们发邮件联系赞助事宜: i#html.love +- 通过 [OpenCollective](https://opencollective.com/RSSHub) 赞助成为 backer 或 sponsor +- 通过 [Patreon](https://www.patreon.com/DIYgod) 赞助成为 backer +- 给我们发邮件联系赞助事宜: i#html.love ## Author diff --git a/docs/README.md b/docs/README.md index 47ecf3ed2..9a56e63fc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -13,9 +13,9 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇 ### Sponsors -* [rixCloud](https://rixcloud.us) +- [rixCloud](https://rixcloud.us) -* [Sayori Studio](https://t.me/SayoriStudio) +- [Sayori Studio](https://t.me/SayoriStudio) [![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/support/) @@ -37,21 +37,21 @@ RSSHub 是一个轻量、易于扩展的 RSS 生成器,可以给任何奇奇 filter 选出想要的内容 -* filter: 过滤标题和描述 +- filter: 过滤标题和描述 -* filter_title: 过滤标题 +- filter_title: 过滤标题 -* filter_description: 过滤描述 +- filter_description: 过滤描述 举例: [https://rsshub.app/bilibili/user/coin/2267573?filter=微小微|赤九玖|暴走大事件](https://rsshub.app/bilibili/user/coin/2267573?filter=微小微|赤九玖|暴走大事件) filterout 去掉不要的内容 -* filterout: 过滤标题和描述 +- filterout: 过滤标题和描述 -* filterout_title: 过滤标题 +- filterout_title: 过滤标题 -* filterout_description: 过滤描述 +- filterout_description: 过滤描述 举例: [https://rsshub.app/bilibili/user/coin/2267573?filterout=微小微|赤九玖|暴走大事件](https://rsshub.app/bilibili/user/coin/2267573?filterout=微小微|赤九玖|暴走大事件) @@ -67,11 +67,11 @@ RSSHub 同时支持 RSS 2.0、Atom 和 [JSON Feed](https://jsonfeed.org/) 输出 举例: -* 缺省 RSS 2.0 - [https://rsshub.app/jianshu/home](https://rsshub.app/jianshu/home) -* RSS 2.0 - [https://rsshub.app/jianshu/home.rss](https://rsshub.app/jianshu/home.rss) -* Atom - [https://rsshub.app/jianshu/home.atom](https://rsshub.app/jianshu/home.atom) -* JSON Feed - [https://rsshub.app/jianshu/home.json](https://rsshub.app/jianshu/home.json) -* 和 filter 或其他 URL query 一起使用 [https://rsshub.app/bilibili/user/coin/2267573.atom?filter=微小微|赤九玖|暴走大事件](https://rsshub.app/bilibili/user/coin/2267573.atom?filter=微小微|赤九玖|暴走大事件) +- 缺省 RSS 2.0 - [https://rsshub.app/jianshu/home](https://rsshub.app/jianshu/home) +- RSS 2.0 - [https://rsshub.app/jianshu/home.rss](https://rsshub.app/jianshu/home.rss) +- Atom - [https://rsshub.app/jianshu/home.atom](https://rsshub.app/jianshu/home.atom) +- JSON Feed - [https://rsshub.app/jianshu/home.json](https://rsshub.app/jianshu/home.json) +- 和 filter 或其他 URL query 一起使用 [https://rsshub.app/bilibili/user/coin/2267573.atom?filter=微小微|赤九玖|暴走大事件](https://rsshub.app/bilibili/user/coin/2267573.atom?filter=微小微|赤九玖|暴走大事件) ## RSSHub @@ -931,8 +931,8 @@ key: 产品密钥 ::: tip 提示 -* tags 可以在 [konachan](https://konachan.com/post) 选好后, 复制其 URL 中 tags= 后的参数 -* 路由可选 `/konachan` 或 `/konachan.com` 或 `/konachan.net`, 其中前两者相同, `.net` 是全年龄健康的壁纸 ♡ +- tags 可以在 [konachan](https://konachan.com/post) 选好后, 复制其 URL 中 tags= 后的参数 +- 路由可选 `/konachan` 或 `/konachan.com` 或 `/konachan.net`, 其中前两者相同, `.net` 是全年龄健康的壁纸 ♡ ::: @@ -940,28 +940,28 @@ key: 产品密钥 路由: -* `/konachan/post` -* `/konachan/post/:tags` +- `/konachan/post` +- `/konachan/post/:tags` 举例: -* [https://rsshub.app/konachan/post](https://rsshub.app/konachan/post) -* [https://rsshub.app/konachan/post/touhou](https://rsshub.app/konachan/post/touhou) -* [https://rsshub.app/konachan/post/panties+rating%3Asafe](https://rsshub.app/konachan/post/panties+rating%3Asafe) +- [https://rsshub.app/konachan/post](https://rsshub.app/konachan/post) +- [https://rsshub.app/konachan/post/touhou](https://rsshub.app/konachan/post/touhou) +- [https://rsshub.app/konachan/post/panties+rating%3Asafe](https://rsshub.app/konachan/post/panties+rating%3Asafe) ### Popular Recent Posts 路由: -* `/konachan/post/popular_recent` 默认过去 24 小时 -* `/konachan/post/popular_recent/:period` +- `/konachan/post/popular_recent` 默认过去 24 小时 +- `/konachan/post/popular_recent/:period` 举例: -* 过去 24 小时:[https://rsshub.app/konachan/post/popular_recent/1d](https://rsshub.app/konachan/post/popular_recent/1d) -* 过去一周:[https://rsshub.app/konachan/post/popular_recent/1w](https://rsshub.app/konachan/post/popular_recent/1w) -* 过去一月:[https://rsshub.app/konachan/post/popular_recent/1m](https://rsshub.app/konachan/post/popular_recent/1m) -* 过去一年:[https://rsshub.app/konachan/post/popular_recent/1y](https://rsshub.app/konachan/post/popular_recent?period=1y) +- 过去 24 小时:[https://rsshub.app/konachan/post/popular_recent/1d](https://rsshub.app/konachan/post/popular_recent/1d) +- 过去一周:[https://rsshub.app/konachan/post/popular_recent/1w](https://rsshub.app/konachan/post/popular_recent/1w) +- 过去一月:[https://rsshub.app/konachan/post/popular_recent/1m](https://rsshub.app/konachan/post/popular_recent/1m) +- 过去一年:[https://rsshub.app/konachan/post/popular_recent/1y](https://rsshub.app/konachan/post/popular_recent?period=1y) ## yande.re @@ -969,26 +969,26 @@ key: 产品密钥 路由: -* `/yande.re/post` -* `/yande.re/post/:tags` +- `/yande.re/post` +- `/yande.re/post/:tags` 举例: -* [https://rsshub.app/yande.re/post](https://rsshub.app/yande.re/post) -* [https://rsshub.app/yande.re/post/the_idolm%40ster](https://rsshub.app/yande.re/post/the_idolm%40ster) -* [https://rsshub.app/yande.re/post/kantai_collection](https://rsshub.app/yande.re/post/kantai_collection) -* [https://rsshub.app/yande.re/post/love_live%21](https://rsshub.app/yande.re/post/love_live%21) +- [https://rsshub.app/yande.re/post](https://rsshub.app/yande.re/post) +- [https://rsshub.app/yande.re/post/the_idolm%40ster](https://rsshub.app/yande.re/post/the_idolm%40ster) +- [https://rsshub.app/yande.re/post/kantai_collection](https://rsshub.app/yande.re/post/kantai_collection) +- [https://rsshub.app/yande.re/post/love_live%21](https://rsshub.app/yande.re/post/love_live%21) ### Popular Recent Posts 路由: -* `/yande.re/post/popular_recent` 默认过去 24 小时 -* `/yande.re/post/popular_recent/:period` +- `/yande.re/post/popular_recent` 默认过去 24 小时 +- `/yande.re/post/popular_recent/:period` 举例: -* 过去 24 小时:[https://rsshub.app/yande.re/post/popular_recent/1d](https://rsshub.app/yande.re/post/popular_recent/1d) -* 过去一周:[https://rsshub.app/yande.re/post/popular_recent/1w](https://rsshub.app/yande.re/post/popular_recent/1w) -* 过去一月:[https://rsshub.app/yande.re/post/popular_recent/1m](https://rsshub.app/yande.re/post/popular_recent/1m) -* 过去一年:[https://rsshub.app/yande.re/post/popular_recent/1y](https://rsshub.app/yande.re/post/popular_recent?period=1y) +- 过去 24 小时:[https://rsshub.app/yande.re/post/popular_recent/1d](https://rsshub.app/yande.re/post/popular_recent/1d) +- 过去一周:[https://rsshub.app/yande.re/post/popular_recent/1w](https://rsshub.app/yande.re/post/popular_recent/1w) +- 过去一月:[https://rsshub.app/yande.re/post/popular_recent/1m](https://rsshub.app/yande.re/post/popular_recent/1m) +- 过去一年:[https://rsshub.app/yande.re/post/popular_recent/1y](https://rsshub.app/yande.re/post/popular_recent?period=1y) diff --git a/docs/install/README.md b/docs/install/README.md index 611bf7065..1e9f87c96 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -30,9 +30,9 @@ usage: git [--version] [--help] [-C ] [-c name=value] ::: -* Windows:从 Git 官网直接[下载安装程序](https://git-scm.com/downloads)。 -* MacOS:使用 [Homebrew](https://brew.sh/) `$ brew install git` 或者[下载安装程序](https://git-scm.com/download/mac)。 -* Linux:使用您的包管理器安装例如 `$ sudo apt-get install git`。 +- Windows:从 Git 官网直接[下载安装程序](https://git-scm.com/downloads)。 +- MacOS:使用 [Homebrew](https://brew.sh/) `$ brew install git` 或者[下载安装程序](https://git-scm.com/download/mac)。 +- Linux:使用您的包管理器安装例如 `$ sudo apt-get install git`。 ### 安装 Node.JS @@ -341,34 +341,34 @@ gcloud app deploy ### 部分 RSS 模块配置 -* `pixiv`: [注册地址](https://accounts.pixiv.net/signup) +- `pixiv`: [注册地址](https://accounts.pixiv.net/signup) - * `PIXIV_USERNAME`: Pixiv 用户名 + - `PIXIV_USERNAME`: Pixiv 用户名 - * `PIXIV_PASSWORD`: Pixiv 密码 + - `PIXIV_PASSWORD`: Pixiv 密码 -* `disqus`: [申请地址](https://disqus.com/api/applications/) +- `disqus`: [申请地址](https://disqus.com/api/applications/) - * `DISQUS_API_KEY`: Disqus API + - `DISQUS_API_KEY`: Disqus API -* `twitter`: [申请地址](https://apps.twitter.com) +- `twitter`: [申请地址](https://apps.twitter.com) - * `TWITTER_CONSUMER_KEY`: Twitter Consumer Key + - `TWITTER_CONSUMER_KEY`: Twitter Consumer Key - * `TWITTER_CONSUMER_SECRET`: Twitter Consumer Secret + - `TWITTER_CONSUMER_SECRET`: Twitter Consumer Secret - * `TWITTER_ACCESS_TOKEN`: Twitter Access Token + - `TWITTER_ACCESS_TOKEN`: Twitter Access Token - * `TWITTER_ACCESS_TOKEN_SECRET`: Twitter Access Token Secret + - `TWITTER_ACCESS_TOKEN_SECRET`: Twitter Access Token Secret -* `youtube`: [申请地址](https://console.developers.google.com/) +- `youtube`: [申请地址](https://console.developers.google.com/) - * `YOUTUBE_KEY`: YouTube API Key + - `YOUTUBE_KEY`: YouTube API Key -* `telegram`: [Telegram 机器人](https://telegram.org/blog/bot-revolution) +- `telegram`: [Telegram 机器人](https://telegram.org/blog/bot-revolution) - * `TELEGRAM_TOKEN`: Telegram 机器人 token + - `TELEGRAM_TOKEN`: Telegram 机器人 token -* `github`: [申请地址](https://github.com/settings/tokens) +- `github`: [申请地址](https://github.com/settings/tokens) - * `GITHUB_ACCESS_TOKEN`: GitHub Access Token + - `GITHUB_ACCESS_TOKEN`: GitHub Access Token diff --git a/docs/support/README.md b/docs/support/README.md index 85352f320..493de6e12 100644 --- a/docs/support/README.md +++ b/docs/support/README.md @@ -12,15 +12,15 @@ RSSHub 是采用 MIT 许可的开源项目,使用完全免费。 但是随着 我们通过以下方式接受赞助: -* [微信支付](https://i.imgur.com/aq6PtWa.png) -* [支付宝](https://i.imgur.com/wv1Pj2k.png) -* [Paypal](https://www.paypal.me/DIYgod) -* 比特币: 13CwQLHzPYm2tewNMSJBeArbbRM5NSmCD1 +- [微信支付](https://i.imgur.com/aq6PtWa.png) +- [支付宝](https://i.imgur.com/wv1Pj2k.png) +- [Paypal](https://www.paypal.me/DIYgod) +- 比特币: 13CwQLHzPYm2tewNMSJBeArbbRM5NSmCD1 ## 周期性赞助 周期性赞助可以获得额外的回报,比如你的名字 会出现在 RSSHub 的 GitHub 仓库和现在我们的官网中。 -* 通过 [OpenCollective](https://opencollective.com/RSSHub) 赞助成为 backer 或 sponsor -* 通过 [Patreon](https://www.patreon.com/DIYgod) 赞助成为 backer -* 给我们发邮件联系赞助事宜: i#html.love +- 通过 [OpenCollective](https://opencollective.com/RSSHub) 赞助成为 backer 或 sponsor +- 通过 [Patreon](https://www.patreon.com/DIYgod) 赞助成为 backer +- 给我们发邮件联系赞助事宜: i#html.love diff --git a/router.js b/router.js index 8067dd010..5fb469576 100644 --- a/router.js +++ b/router.js @@ -45,7 +45,7 @@ router.get('/', async (ctx) => { }, { name: '请求频率', - value: (ctx.debug.request / time * 60).toFixed(3) + ' 次/分钟', + value: ((ctx.debug.request / time) * 60).toFixed(3) + ' 次/分钟', }, { name: '缓存命中率',