mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-24 02:08:55 +08:00
Merge branch 'master' into more-comics
This commit is contained in:
@@ -104,6 +104,35 @@ $ docker run -d --name rsshub -p 1200:1200 -e CACHE_EXPIRE=3600 -e GITHUB_ACCESS
|
||||
|
||||
To configure more options please refer to [Configuration](#configuration).
|
||||
|
||||
# Ansible Deployment
|
||||
|
||||
This Ansible playbook includes RSSHub, Redis, browserless (uses Docker) and Caddy 2
|
||||
|
||||
Currently only support Ubuntu 20.04
|
||||
|
||||
Requires sudo privilege and virtualization capability (Docker will be automatically installed)
|
||||
|
||||
### Install
|
||||
|
||||
```bash
|
||||
sudo apt update
|
||||
sudo apt install ansible
|
||||
git clone https://github.com/DIYgod/RSSHub.git ~/RSSHub
|
||||
cd ~/RSSHub/scripts/ansible
|
||||
sudo ansible-playbook rsshub.yaml
|
||||
# When prompt to enter a domain name, enter the domain name that this machine/VM will use
|
||||
# For example, if your users use https://rsshub.exmaple.com to access your RSSHub instance, enter rsshub.exmaple.com (remove the https://)
|
||||
```
|
||||
|
||||
### Update
|
||||
|
||||
```bash
|
||||
cd ~/RSSHub/scripts/ansible
|
||||
sudo ansible-playbook rsshub.yaml
|
||||
# When prompt to enter a domain name, enter the domain name that this machine/VM will use
|
||||
# For example, if your users use https://rsshub.exmaple.com to access your RSSHub instance, enter rsshub.exmaple.com (remove the https://)
|
||||
```
|
||||
|
||||
## Manual Deployment
|
||||
|
||||
The most direct way to deploy `RSSHub`, you can follow the steps below to deploy`RSSHub` on your computer, server or anywhere.
|
||||
|
||||
@@ -67,6 +67,10 @@ Compared to the official one, the RSS feed generated by RSSHub not only has more
|
||||
|
||||
## CGTN
|
||||
|
||||
### Opinions
|
||||
|
||||
<RouteEn author="nczitzk" example="/cgtn/opinions" path="/cgtn/opinions"/>
|
||||
|
||||
### Most Read & Most Share
|
||||
|
||||
<RouteEn author="nczitzk" example="/cgtn/most/read/day" path="/cgtn/most/:type?/:time?" :paramsDesc="['Type, `read` as most read, `share` as most share, `read` by default', 'Time range, `all` as all the time, `day` as today, `week` as this week, `month` as this month, `year` as this year, `all` by default']"/>
|
||||
|
||||
@@ -164,6 +164,12 @@ The owner of the official image fills in the library, for example: https://rsshu
|
||||
|
||||
<RouteEn author="hoilc" example="/edge/addon/gangkeiaobmjcjokiofpkfpcobpbmnln" path="/edge/addon/:crxid" :paramsDesc="['Addon id, can be found in addon url']"/>
|
||||
|
||||
## Microsoft Store
|
||||
|
||||
### Updates
|
||||
|
||||
<Route author="hellodword" example="/microsoft-store/updates/9WZDNCRFHVN5/CN" path="/microsoft-store/updates/:productid/:market?" :paramsDesc="['`Share` - `Copy Link` in the Store', '`CN` as default']" />
|
||||
|
||||
## Minecraft
|
||||
|
||||
Refer to [#minecraft](/en/game.html#minecraft)
|
||||
|
||||
@@ -20,6 +20,10 @@ Site
|
||||
|
||||
## AP News
|
||||
|
||||
### Top Stories
|
||||
|
||||
<RouteEn author="zphw" example="/apnews" path="/apnews" />
|
||||
|
||||
### Topics
|
||||
|
||||
<RouteEn author="zoenglinghou" example="/apnews/topics/apf-topnews" path="/apnews/topics/:topic" :paramsDesc="['Topic name,can be found in URL. For example: the topic name of AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) is `apf-topnews`']" radar="1" rssbud="1"/>
|
||||
@@ -149,6 +153,18 @@ Generates full-text feeds that the official feed doesn't provide.
|
||||
|
||||
<RouteEn author="oppliate" example="/phoronix/news_topic/Intel" path="/phoronix/:page/:queryOrItem?" :paramsDesc="['Page name', 'For `category` it corresponds to `item`, for other pages it\'s `q`. You may find available parameters from their navigator links. E.g. to subscribe to the category page `https://www.phoronix.com/scan.php?page=category&item=Computers`, fill in the path `/phoronix/category/Computers`']" />
|
||||
|
||||
## Radio Free Asia (RFA)
|
||||
|
||||
<RouteEn author="zphw" example="/rfa/english" path="/rfa/:language?/:channel?/:subChannel?" :paramsDesc="['language, English by default', 'channel', 'subchannel, where applicable']" />
|
||||
|
||||
Delivers a better experience by supporting parameter specification.
|
||||
|
||||
Parameters can be obtained from the official website, for instance:
|
||||
|
||||
`https://www.rfa.org/cantonese/news` corresponds to `/rfa/cantonese/news`
|
||||
|
||||
`https://www.rfa.org/cantonese/news/htm` corresponds to `/rfa/cantonese/news/htm`
|
||||
|
||||
## Reuters
|
||||
|
||||
### Channel
|
||||
|
||||
@@ -185,6 +185,18 @@ pageClass: routes
|
||||
|
||||
<Route author="Yoge-Code" example="/gov/cnca/zxtz" path="/gov/cnca/zxtz"/>
|
||||
|
||||
## 中国农工民主党
|
||||
|
||||
### 新闻中心
|
||||
|
||||
<Route author="nczitzk" example="/ngd" path="/ngd/:slug?" :paramsDesc="['见下文']">
|
||||
|
||||
将目标栏目的网址拆解为 `http://www.ngd.org.cn/` 和后面的字段,去掉 `.htm` 后,把后面的字段中的 `/` 替换为 `-`,即为该路由的 slug
|
||||
|
||||
如:(要闻动态)[http://www.ngd.org.cn/xwzx/ywdt/index.htm] 的网址在 `http://www.ngd.org.cn/` 后的字段是 `xwzx/ywdt/index.htm`,则对应的 slug 为 `xwzx-ywdt-index`,对应的路由即为 `/ngd/xwzx-ywdt-index`
|
||||
|
||||
</Route>
|
||||
|
||||
## 中国人大网
|
||||
|
||||
<Route author="233yeee" example="/npc/c183" path="/npc/:caty" :paramsDesc="['分类名,支持形如`http://www.npc.gov.cn/npc/*/list.shtml`的网站,传入 npc 之后的参数']">
|
||||
|
||||
@@ -106,6 +106,35 @@ $ docker run -d --name rsshub -p 1200:1200 -e CACHE_EXPIRE=3600 -e GITHUB_ACCESS
|
||||
|
||||
更多配置项请看 [#配置](#pei-zhi)
|
||||
|
||||
## Ansible 部署
|
||||
|
||||
这个 Ansible playbook 包括了 RSSHub, Redis, browserless (依赖 Docker) 以及 Caddy 2
|
||||
|
||||
目前只支持 Ubuntu 20.04
|
||||
|
||||
需要 sudo 权限和虚拟化能力(Docker 将会被自动安装)
|
||||
|
||||
### 安装
|
||||
|
||||
```bash
|
||||
sudo apt update
|
||||
sudo apt install ansible
|
||||
git clone https://github.com/DIYgod/RSSHub.git ~/RSSHub
|
||||
cd ~/RSSHub/scripts/ansible
|
||||
sudo ansible-playbook rsshub.yaml
|
||||
# 当提示输入 domain name 的时候,输入该主机所使用的域名
|
||||
# 举例:如果您的 RSSHub 用户使用 https://rsshub.exmaple.com 访问您的 RSSHub 实例,输入 rsshub.exmaple.com(去掉 https://)
|
||||
```
|
||||
|
||||
### 更新
|
||||
|
||||
```bash
|
||||
cd ~/RSSHub/scripts/ansible
|
||||
sudo ansible-playbook rsshub.yaml
|
||||
# 当提示输入 domain name 的时候,输入该主机所使用的域名
|
||||
# 举例:如果您的 RSSHub 用户使用 https://rsshub.exmaple.com 访问您的 RSSHub 实例,输入 rsshub.exmaple.com(去掉 https://)
|
||||
```
|
||||
|
||||
## 手动部署
|
||||
|
||||
部署 `RSSHub` 最直接的方式,您可以按照以下步骤将 `RSSHub` 部署在您的电脑、服务器或者其他任何地方
|
||||
@@ -619,3 +648,8 @@ RSSHub 支持使用访问密钥 / 码,白名单和黑名单三种方式进行
|
||||
|
||||
- `DIDA365_USERNAME`: 滴答清单用户名
|
||||
- `DIDA365_PASSWORD`: 滴答清单密码
|
||||
|
||||
- 知乎用户关注时间线
|
||||
|
||||
- `ZHIHU_COOKIES`: 知乎登录后的 cookie 值.
|
||||
1. 可以在知乎网页版的一些请求的请求头中找到,如 `GET /moments` 请求头中的 `cookie` 值.
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ pageClass: routes
|
||||
|
||||
### 直播分区
|
||||
|
||||
<Route author="Qixingchen" example="/bilibili/live/area/143/online" path="/bilibili/live/area/:areaID/:order" :paramsDesc="['分区 ID 分区增删较多, 可通过 [分区列表](https://api.live.bilibili.com/room/v1/Area/getList) 查询', '排序方式, live_time 开播时间, online 人气']">
|
||||
<Route author="Qixingchen" example="/bilibili/live/area/207/online" path="/bilibili/live/area/:areaID/:order" :paramsDesc="['分区 ID 分区增删较多, 可通过 [分区列表](https://api.live.bilibili.com/room/v1/Area/getList) 查询', '排序方式, live_time 开播时间, online 人气']">
|
||||
|
||||
::: warning 注意
|
||||
|
||||
|
||||
@@ -122,6 +122,10 @@ pageClass: routes
|
||||
|
||||
## CGTN
|
||||
|
||||
### Opinions
|
||||
|
||||
<Route author="nczitzk" example="/cgtn/opinions" path="/cgtn/opinions"/>
|
||||
|
||||
### Most Read & Most Share
|
||||
|
||||
<Route author="nczitzk" example="/cgtn/most/read/day" path="/cgtn/most/:type?/:time?" :paramsDesc="['类型,`read` 指最多阅读,`share` 指最多分享,默认为 `read`', '时间,`all` 指所有时间,`day` 指今天,`week` 指本周,`month` 指本月,`year` 指今年,默认为 `all`']"/>
|
||||
|
||||
@@ -212,6 +212,12 @@ pageClass: routes
|
||||
|
||||
<Route author="hoilc" example="/edge/addon/gangkeiaobmjcjokiofpkfpcobpbmnln" path="/edge/addon/:crxid" :paramsDesc="['扩展 id, 可在扩展页 URL 中找到']" />
|
||||
|
||||
## Microsoft Store
|
||||
|
||||
### Updates
|
||||
|
||||
<Route author="hellodword" example="/microsoft-store/updates/9WZDNCRFHVN5/CN" path="/microsoft-store/updates/:productid/:market?" :paramsDesc="['在 Store 中点击 `分享` - `复制链接` 即可获得', '默认为 `CN`']" />
|
||||
|
||||
## Minecraft
|
||||
|
||||
见 [#minecraft](/game.html#minecraft)
|
||||
@@ -310,6 +316,16 @@ pageClass: routes
|
||||
|
||||
<Route author="nczitzk" example="/sesame/release_notes" path="/sesame/release_notes"/>
|
||||
|
||||
## simpread
|
||||
|
||||
### 消息通知
|
||||
|
||||
<Route author="zytomorrow" example="/simpread/notice" path="/simpread/notice"/>
|
||||
|
||||
### 更新日志
|
||||
|
||||
<Route author="zytomorrow" example="/simpread/changelog" path="/simpread/changelog"/>
|
||||
|
||||
## sketch.com
|
||||
|
||||
### beta 更新
|
||||
|
||||
@@ -1141,3 +1141,12 @@ rule
|
||||
### 知乎书店 - 知乎周刊
|
||||
|
||||
<Route author="LogicJake" example="/zhihu/weekly" path="/zhihu/weekly" anticrawler="1" radar="1" rssbud="1"/>
|
||||
|
||||
### 用户关注时间线
|
||||
|
||||
<Route author="SeanChao" example="/zhihu/timeline" path="/zhihu/timeline" anticrawler="1" selfhost="1"/>
|
||||
::: warning 注意
|
||||
|
||||
用户关注动态需要登录后的 Cookie 值,所以只能自建,详情见部署页面的配置模块。
|
||||
|
||||
:::
|
||||
|
||||
@@ -26,6 +26,10 @@ pageClass: routes
|
||||
|
||||
## AP News
|
||||
|
||||
### 首页头条
|
||||
|
||||
<Route author="zphw" example="/apnews" path="/apnews" />
|
||||
|
||||
### 话题
|
||||
|
||||
<Route author="zoenglinghou" example="/apnews/topics/apf-topnews" path="/apnews/topics/:topic" :paramsDesc="['话题名称,可在 URL 中找到,例如 AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) 的话题为 `apf-topnews`']" radar="1" rssbud="1"/>
|
||||
@@ -181,6 +185,23 @@ pageClass: routes
|
||||
|
||||
<Route author="oppliate" example="/phoronix/news_topic/Intel" path="/phoronix/:page/:queryOrItem?" :paramsDesc="['页面', '对 `category` 页面是分类项目 `item`,对其它页面是主题 `q`,可以在网站顶部导航栏各项目链接里找出。如 `https://www.phoronix.com/scan.php?page=category&item=Computers` 对应 `/phoronix/category/Computers`']" />
|
||||
|
||||
## RTHK 傳媒透視
|
||||
|
||||
<Route author="tpnonthealps" example="/mediadigest/latest" path="/mediadigest/:range" :paramsDesc="['时间范围']">
|
||||
|
||||
细则:
|
||||
|
||||
- `:range` 时间范围参数
|
||||
(可为 `latest` 或 `四位数字的年份`)
|
||||
|
||||
- `latest`: 最新的 50 篇文章
|
||||
- `2020`: 2020 年的所有文章
|
||||
|
||||
- 全文输出转换为简体字: `?opencc=t2s`
|
||||
(`opencc` 是 RSSHub 的通用参数,详情请参阅 [「中文简繁体转换」](https://docs.rsshub.app/parameter.html#zhong-wen-jian-fan-ti-zhuan-huan))
|
||||
|
||||
</Route>
|
||||
|
||||
## Solidot
|
||||
|
||||
### 最新消息
|
||||
@@ -965,3 +986,15 @@ category 对应的关键词有
|
||||
### 九江新闻
|
||||
|
||||
<Route author="jjlzg" example="/fjnews/jjnews" path="/fjnews/jjnews"/>
|
||||
|
||||
## 自由亚洲电台
|
||||
|
||||
<Route author="zphw" example="/rfa/mandarin" path="/rfa/:language?/:channel?/:subChannel?" :paramsDesc="['语言,默认 English', '频道', '子频道(如存在)']" />
|
||||
|
||||
通过指定频道参数,提供比官方源更佳的阅读体验。
|
||||
|
||||
参数均可在官网获取,如:
|
||||
|
||||
`https://www.rfa.org/cantonese/news` 对应 `/rfa/cantonese/news`
|
||||
|
||||
`https://www.rfa.org/cantonese/news/htm` 对应 `/rfa/cantonese/news/htm`
|
||||
|
||||
Reference in New Issue
Block a user