diff --git a/docs/.format/chineseFormat.js b/docs/.format/chineseFormat.js index 89caaac036..73bea54c93 100644 --- a/docs/.format/chineseFormat.js +++ b/docs/.format/chineseFormat.js @@ -11,7 +11,9 @@ module.exports = { handler: async (doc) => { let result = await remark() .use(frontmatter) - .use(pangu) + .use(pangu, { + inlineCode: false, + }) .use(prettier) .use({ settings: { diff --git a/docs/anime.md b/docs/anime.md index fedf95f81f..10aeb35f55 100644 --- a/docs/anime.md +++ b/docs/anime.md @@ -209,7 +209,7 @@ pageClass: routes 请打开对应番剧的纵览页 (非具体某集), 从 url 中最后一位查看番剧 id.(一般为英文) -除去'海贼'此类具有特殊页面的超长番剧, 绝大多数页面都可以解析. +除去 ' 海贼 ' 此类具有特殊页面的超长番剧,绝大多数页面都可以解析. 最适合用来追新番 diff --git a/docs/api.md b/docs/api.md index b7df3ee3fd..212237619c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1,7 +1,7 @@ # API 接口 ::: warning 注意 -API 仍处于开发状态中,  并可能会有改动. 欢迎提供建议! +API 仍处于开发状态中, 并可能会有改动。欢迎提供建议! ::: RSSHub 提供下列 API 接口: @@ -18,9 +18,9 @@ RSSHub 提供下列 API 接口: 参数: -- name, 路由一级名称, 对应 中的文件夹名称. 可选, **缺省则返回所有可用路由**. +- name, 路由一级名称,对应 中的文件夹名称。可选,**缺省则返回所有可用路由**. -成功请求将会返回 HTTP 状态码 `200 OK` 与 JSON 结果, 格式如下: +成功请求将会返回 HTTP 状态码 `200 OK` 与 JSON 结果,格式如下: ```js { @@ -58,4 +58,4 @@ RSSHub 提供下列 API 接口: } ``` -若无符合请求路由, 请求将会返回 HTTP 状态码 `204 No Content`. +若无符合请求路由,请求将会返回 HTTP 状态码 `204 No Content`. diff --git a/docs/faq.md b/docs/faq.md index 3c1bbecefa..ba22e0cef7 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -14,7 +14,7 @@ **Q: 演示地址可以用么?** -**A:** 演示地址为 [rsshub.app](https://rsshub.app), 缓存时间 20 分钟, 可以随意使用。但如果你看到路由有 标记,如微博、知乎等,意味着目标网站有严重的反爬策略,demo 无法确保可用性,建议自建来提高稳定性。 +**A:** 演示地址为 [rsshub.app](https://rsshub.app), 缓存时间 20 分钟,可以随意使用。但如果你看到路由有 标记,如微博、知乎等,意味着目标网站有严重的反爬策略,demo 无法确保可用性,建议自建来提高稳定性。 **Q: 为什么 RSSHub 里的图片加载不出来?** diff --git a/docs/government.md b/docs/government.md index 762a92f835..4e7672a0bb 100644 --- a/docs/government.md +++ b/docs/government.md @@ -107,7 +107,7 @@ pageClass: routes | allpro | 包含以下全部关键词 | | | notpro | 不包含以下关键词 | | | inpro | 完整不拆分的关键词 | | -| searchfield | title: 搜索词在标题中; content: 搜索词在正文中。 | 默认为空,即网页的任意位置。 | +| searchfield | title: 搜索词在标题中;content: 搜索词在正文中。 | 默认为空,即网页的任意位置。 | | pubmintimeYear, pubmintimeMonth | 从某年某月 | 单独使用月份参数无法只筛选月份 | | pubmaxtimeYear, pubmaxtimeMonth | 到某年某月 | 单独使用月份参数无法只筛选月份 | | colid | 栏目 | 比较复杂,不建议使用 | @@ -340,8 +340,8 @@ pageClass: routes - `农业农村部动态`的网页链接是`http://www.moa.gov.cn/xw/zwdt/`, 对应的`suburl`是`xw/zwdt` - `财务公开`的网页链接是`http://www.moa.gov.cn/gk/cwgk_1/`, 对应的`suburl`是`gk/cwgk_1` -- 像[政策法规](http://www.moa.gov.cn/gk/zcfg/)这种页面 (`http://www.moa.gov.cn/gk/zcfg/`), 它**不是**一个合法的分类目录, 它是`法律`, `行政法规`, `部门规章`等一堆栏目的集合, 这时候请点开对应栏目的`更多 >>`进入栏目的目录, 再根据上面的规则提取`suburl` -- 特别地, `图片新闻`对应的`suburl`为`xw/tpxw/`, `最新公开`对应的`suburl`为`govpublic` +- 像[政策法规](http://www.moa.gov.cn/gk/zcfg/)这种页面 (`http://www.moa.gov.cn/gk/zcfg/`), 它**不是**一个合法的分类目录,它是`法律`, `行政法规`, `部门规章`等一堆栏目的集合,这时候请点开对应栏目的`更多 >>`进入栏目的目录,再根据上面的规则提取`suburl` +- 特别地,`图片新闻`对应的`suburl`为`xw/tpxw/`, `最新公开`对应的`suburl`为`govpublic` diff --git a/docs/install/README.md b/docs/install/README.md index 2901e9cfd0..52fb79a667 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -186,7 +186,7 @@ $ git pull [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https%3A%2F%2Fgithub.com%2FDIYgod%2FRSSHub) -## 部署到 Vercel(Zeit Now) +## 部署到 Vercel (Zeit Now) [![Deploy to Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/DIYgod/RSSHub) @@ -317,7 +317,7 @@ RSSHub 支持 `memory` 和 `redis` 两种缓存方式 `protected_route.js` 内的路由将启用 HTTP Basic Authentication 认证 -支持该认证协议的阅读器,在添加源地址时,需要在源地址前添加认证信息,例如:`http://usernam3:passw0rd@127.0.0.1passw0rd@127.0.0.1:1200/protected/rsshub/routes` +支持该认证协议的阅读器,在添加源地址时,需要在源地址前添加认证信息,例如:`http://usernam3:passw0rd@127.0.0.1:1200/protected/rsshub/routes` `HTTP_BASIC_AUTH_NAME`: Http basic authentication 用户名,默认为 `usernam3`,请务必修改 @@ -399,7 +399,7 @@ RSSHub 支持 `memory` 和 `redis` 两种缓存方式 - 邮箱 邮件列表路由: - - `EMAIL_CONFIG_{email}`: 邮箱设置,替换 `{email}` 为 邮箱账号,邮件账户的 `@` 替换为 `.`,例如 `EMAIL_CONFIG_xxx.qq.com`。内容格式为 `password = 密码 & host = 服务器 & port = 端口`,例如 `password=123456&host=imap.qq.com&port=993`。 + - `EMAIL_CONFIG_{email}`: 邮箱设置,替换 `{email}` 为 邮箱账号,邮件账户的 `@` 替换为 `.`,例如 `EMAIL_CONFIG_xxx.qq.com`。内容格式为 `password=密码&host=服务器&port=端口`,例如 `password=123456&host=imap.qq.com&port=993`。 - 吹牛部落 栏目更新 @@ -409,7 +409,7 @@ RSSHub 支持 `memory` 和 `redis` 两种缓存方式 - `WEIBO_APP_KEY`: 微博 App Key - `WEIBO_APP_SECRET`: 微博 App Secret - - `WEIBO_REDIRECT_URL`: 微博登录授权回调地址,默认为 `RSSHub 地址 / weibo/timeline/0`,自定义回调地址请确保最后可以转跳到 `RSSHub 地址 / weibo/timeline/0?code=xxx` + - `WEIBO_REDIRECT_URL`: 微博登录授权回调地址,默认为 `RSSHub地址/weibo/timeline/0`,自定义回调地址请确保最后可以转跳到 `RSSHub地址/weibo/timeline/0?code=xxx` - 饭否 全部路由: [申请地址](https://github.com/FanfouAPI/FanFouAPIDoc/wiki/Oauth) @@ -433,7 +433,7 @@ RSSHub 支持 `memory` 和 `redis` 两种缓存方式 - discuz cookies 设定 - - `DISCUZ_COOKIE_{cid}`: 某 Discuz 驱动的论坛,用户注册后的 Cookie 值 , cid 可自由设定,取值范围[00, 99], 使用 discuz 通用路由时, 通过指定 cid 来调用该 cookie + - `DISCUZ_COOKIE_{cid}`: 某 Discuz 驱动的论坛,用户注册后的 Cookie 值,cid 可自由设定,取值范围[00, 99], 使用 discuz 通用路由时,通过指定 cid 来调用该 cookie - Sci-hub 设置,用于科学期刊路由。 diff --git a/docs/joinus/README.md b/docs/joinus/README.md index ae3a10c39c..38214c6b50 100644 --- a/docs/joinus/README.md +++ b/docs/joinus/README.md @@ -387,7 +387,7 @@ ctx.state.data = { ### 添加脚本文档 -1. 更新 [文档 (/docs/) ](https://github.com/DIYgod/RSSHub/blob/master/docs/) 目录内对应的文档, 可以执行 `npm run docs:dev` 查看文档效果 +1. 更新 [文档 (/docs/) ](https://github.com/DIYgod/RSSHub/blob/master/docs/) 目录内对应的文档,可以执行 `npm run docs:dev` 查看文档效果 - 文档采用 vue 组件形式,格式如下: - `author`: 路由作者,多位作者使用单个空格分隔 @@ -457,7 +457,7 @@ ctx.state.data = { 1. 请一定要注意把``的标签关闭! -2. 执行 `npm run format` 自动标准化代码格式,提交代码, 然后提交 pull request +2. 执行 `npm run format` 自动标准化代码格式,提交代码,然后提交 pull request ## 提交新的 RSSHub Radar 规则 diff --git a/docs/journal.md b/docs/journal.md index 5793918c10..df609771c6 100644 --- a/docs/journal.md +++ b/docs/journal.md @@ -138,7 +138,7 @@ pageClass: routes 订阅 Science 系列杂志的封面图片,并及时获取刊物更新状态。 -包含了: ‘Science’, 'Science Advances', 'Science Immunology', 'Science Robotics', 'Science Signaling' 和'Science Translational Medicine'。 +包含了: ‘Science’, 'Science Advances', 'Science Immunology', 'Science Robotics', 'Science Signaling' 和 'Science Translational Medicine'。 @@ -162,8 +162,8 @@ _仅支持 Science 主刊_ -1. 简单模式, 例如「data visualization」, . -2. 高级模式, 前往 [Google Scholar](https://scholar.google.com/schhp?hl=zh-cn&as_sdt=0,5), 点击左上角, 选择高级搜索并提交查询. 此时 URL 应为: , 复制`https://scholar.google.com/scholar?`后的所有语句作为本路由的查询参数. 例子所对应的完整路由为. +1. 简单模式,例如「data visualization」, . +2. 高级模式,前往 [Google Scholar](https://scholar.google.com/schhp?hl=zh-cn&as_sdt=0,5), 点击左上角,选择高级搜索并提交查询。此时 URL 应为: , 复制`https://scholar.google.com/scholar?`后的所有语句作为本路由的查询参数。例子所对应的完整路由为. diff --git a/docs/live.md b/docs/live.md index a4d2f8d8fd..1c3e72979a 100644 --- a/docs/live.md +++ b/docs/live.md @@ -32,7 +32,7 @@ pageClass: routes ::: warning 注意 -由于接口未提供开播时间, 如果直播间未更换标题与分区, 将视为一次. 如果直播间更换分区与标题, 将视为另一项 +由于接口未提供开播时间,如果直播间未更换标题与分区,将视为一次。如果直播间更换分区与标题,将视为另一项 ::: diff --git a/docs/multimedia.md b/docs/multimedia.md index 8fb8e25076..f95232a10b 100644 --- a/docs/multimedia.md +++ b/docs/multimedia.md @@ -48,7 +48,7 @@ pageClass: routes ::: tip 提示 -由于 BT 之家域名有多个. 此 feed 对应[`https://www.88btbtt.com`](https://www.88btbtt.com)域名和[`http://www.2btjia.com/`](http://www.2btjia.com/)域名. +由于 BT 之家域名有多个。此 feed 对应[`https://www.88btbtt.com`](https://www.88btbtt.com)域名和[`http://www.2btjia.com/`](http://www.2btjia.com/)域名. 可空,默认为 base ::: @@ -440,7 +440,7 @@ pageClass: routes **付费内容不可收听,但可使用非播客软件 (例如 Inoreader) 获取更新** -目前支持泛用型播客订阅的[输出格式](https://docs.rsshub.app/#输出格式)中标明的格式只有 rss 支持, 也就是说你**只能使用**以下类型的链接来订阅播客: +目前支持泛用型播客订阅的[输出格式](https://docs.rsshub.app/#输出格式)中标明的格式只有 rss 支持,也就是说你**只能使用**以下类型的链接来订阅播客: - `https://rsshub.app/ximalaya/album/*` - `https://rsshub.app/ximalaya/album/*.rss` diff --git a/docs/new-media.md b/docs/new-media.md index 0b2b6e05a1..d054f85564 100644 --- a/docs/new-media.md +++ b/docs/new-media.md @@ -98,7 +98,7 @@ pageClass: routes -通过提取文章全文, 以提供比官方源更佳的阅读体验. +通过提取文章全文,以提供比官方源更佳的阅读体验. @@ -247,7 +247,7 @@ pageClass: routes -通过提取文章全文, 以提供比官方源更佳的阅读体验. +通过提取文章全文,以提供比官方源更佳的阅读体验. @@ -289,8 +289,8 @@ Supported sub-sites: -- 频道为单一路径, 如 则为 `/ifanr/coolbuy`. -- 频道包含多重路径, 如 则替换 `/` 为 `-` `/ifanr/category-intelligentcar`. +- 频道为单一路径,如 则为 `/ifanr/coolbuy`. +- 频道包含多重路径,如 则替换 `/` 为 `-` `/ifanr/category-intelligentcar`. | AppSolution | 玩物志 | 董车会 | | ----------- | ------- | ----------------------- | @@ -765,7 +765,7 @@ Supported sub-sites: -> 少数派专栏需要付费订阅, RSS 仅做更新提醒, 不含付费内容. +> 少数派专栏需要付费订阅,RSS 仅做更新提醒,不含付费内容. @@ -793,7 +793,7 @@ Supported sub-sites: -此为专题广场更新提示 => 集合型而非单篇文章. 与下方 "专题内文章更新" 存在明显区别! +此为专题广场更新提示 => 集合型而非单篇文章。与下方 "专题内文章更新" 存在明显区别! @@ -920,7 +920,7 @@ Supported sub-sites: ::: tip 提示 -公众号直接抓取困难, 故目前提供几种间接抓取方案, 请自行选择 +公众号直接抓取困难,故目前提供几种间接抓取方案,请自行选择 ::: diff --git a/docs/other.md b/docs/other.md index d5fe6ee6b8..4c0e516301 100644 --- a/docs/other.md +++ b/docs/other.md @@ -4,6 +4,18 @@ pageClass: routes # 其他 +## `远程.work` + +### `远程.work` 招聘信息 + + + +| 所有职位 | 技术 | 设计 | 运营 | 产品 | 其他 | 市场 | 销售 | +| :------: | :---------: | :----: | :-------: | :-----: | :---: | :-------: | :---: | +| all | development | design | operation | product | other | marketing | sales | + + + ## acwifi 路由器交流 ### 新闻 @@ -96,7 +108,7 @@ pageClass: routes -## ONE · 一个 +## ONE・一个 ### 图片文字问答 @@ -577,18 +589,6 @@ type 为 all 时,category 参数不支持 cost 和 free -## 远程. work - -### 远程. work 招聘信息 - - - -| 所有职位 | 技术 | 设计 | 运营 | 产品 | 其他 | 市场 | 销售 | -| :------: | :---------: | :----: | :-------: | :-----: | :---: | :-------: | :---: | -| all | development | design | operation | product | other | marketing | sales | - - - ## 正版中国 ### 分类列表 diff --git a/docs/parameter.md b/docs/parameter.md index 2c50c1d285..5e12b43e7f 100644 --- a/docs/parameter.md +++ b/docs/parameter.md @@ -2,13 +2,13 @@ ::: tip 提示 -所有通用参数可以使用 `&` 连接组合使用, 效果叠加 +所有通用参数可以使用 `&` 连接组合使用,效果叠加 ::: ## 内容过滤 -可以使用以下 URL query 过滤内容, 支持正则 +可以使用以下 URL query 过滤内容,支持正则 filter 选出想要的内容 @@ -45,7 +45,7 @@ filter_case_sensitive 过滤是否区分大小写,filter 和 filterout 同时 ## 条数限制 -可以使用 limit 参数限制最大条数, 主要用于排行榜类 RSS +可以使用 limit 参数限制最大条数,主要用于排行榜类 RSS 举例: bilibili 排行榜前 10 @@ -57,7 +57,7 @@ filter_case_sensitive 过滤是否区分大小写,filter 和 filterout 同时 ## 输出 Telegram 即时预览链接 -可以输出 Telegram 可识别的即时预览链接, 主要用于文章类 RSS +可以输出 Telegram 可识别的即时预览链接,主要用于文章类 RSS Telegram 即时预览模式需要在官网制作页面处理模板,请前往[官网](https://instantview.telegram.org/)了解更多 @@ -75,7 +75,7 @@ Telegram 即时预览模式需要在官网制作页面处理模板,请前往[ ## 输出格式 -RSSHub 同时支持 RSS 2.0 和 Atom 输出格式, 在路由末尾添加 `.rss` 或 `.atom` 即可请求对应输出格式, 缺省为 RSS 2.0 +RSSHub 同时支持 RSS 2.0 和 Atom 输出格式,在路由末尾添加 `.rss` 或 `.atom` 即可请求对应输出格式,缺省为 RSS 2.0 举例: diff --git a/docs/picture.md b/docs/picture.md index 040e13bf8d..1011ab9008 100644 --- a/docs/picture.md +++ b/docs/picture.md @@ -61,7 +61,7 @@ pageClass: routes ::: tip 提示 - tags 在 [konachan](https://konachan.com/post) URL 中 `tags=` 后的参数 -- 路由可选 `/konachan` 或 `/konachan.com` 或 `/konachan.net`, 其中前两者相同, `.net` 是全年龄健康的壁纸 ♡ +- 路由可选 `/konachan` 或 `/konachan.com` 或 `/konachan.net`, 其中前两者相同,`.net` 是全年龄健康的壁纸 ♡ - 网站提供了 Posts 订阅: ::: diff --git a/docs/programming.md b/docs/programming.md index 3e0b23038d..c0980b6fcc 100644 --- a/docs/programming.md +++ b/docs/programming.md @@ -16,7 +16,7 @@ pageClass: routes -> AlgoCasts 需要付费订阅, RSS 仅做更新提醒, 不含付费内容. +> AlgoCasts 需要付费订阅,RSS 仅做更新提醒,不含付费内容. ## cve.mitre.org @@ -48,7 +48,7 @@ pageClass: routes | 职场 | 58e84f1584c651693437f27c | | 互联网 | 5d8b7c3786194a1921979124 | -> GitChat 需要付费订阅, RSS 仅做更新提醒, 不含付费内容. +> GitChat 需要付费订阅,RSS 仅做更新提醒,不含付费内容. ## Gitea @@ -393,8 +393,8 @@ GitHub 官方也提供了一些 RSS: -> - 极客时间专栏需要付费订阅, RSS 仅做更新提醒, 不含付费内容. -> - 极客新闻不需要付费, 可通过 RSS 订阅. +> - 极客时间专栏需要付费订阅,RSS 仅做更新提醒,不含付费内容. +> - 极客新闻不需要付费,可通过 RSS 订阅. ## 技术头条 @@ -448,7 +448,7 @@ GitHub 官方也提供了一些 RSS: -> 掘金小册需要付费订阅, RSS 仅做更新提醒, 不含付费内容. +> 掘金小册需要付费订阅,RSS 仅做更新提醒,不含付费内容. ### 沸点 diff --git a/docs/reading.md b/docs/reading.md index 915dc55c7f..b582d68409 100644 --- a/docs/reading.md +++ b/docs/reading.md @@ -2,7 +2,7 @@ pageClass: routes --- -# 小说 · 文学 · 阅读 +# 小说・文学・阅读 ## All Poetry @@ -46,7 +46,7 @@ pageClass: routes ::: tip 提示 -由于笔趣阁网站有多个, 各站点小说对应的小说 id 不同. 此 feed 只对应在[`www.biquge5200.com`](https://www.biquge5200.com/)中的小说 id. +由于笔趣阁网站有多个,各站点小说对应的小说 id 不同。此 feed 只对应在[`www.biquge5200.com`](https://www.biquge5200.com/)中的小说 id. ::: @@ -169,7 +169,7 @@ count 的取值范围为 1-12,为防止请求次数过多,推荐设置为 5 -书籍网站每日一更. 信息更新时间为书籍最初出版时间, 排序可能不符合网络发表时间, 请认准未读消息. +书籍网站每日一更。信息更新时间为书籍最初出版时间,排序可能不符合网络发表时间,请认准未读消息. diff --git a/docs/shopping.md b/docs/shopping.md index 9815220f86..9fbd271afc 100644 --- a/docs/shopping.md +++ b/docs/shopping.md @@ -34,7 +34,7 @@ For instance, in -城市、分类名、子分类名, 请参见[大麦网搜索页面](https://search.damai.cn/search.htm) +城市、分类名、子分类名,请参见[大麦网搜索页面](https://search.damai.cn/search.htm) ## 多抓鱼 diff --git a/docs/social-media.md b/docs/social-media.md index 04197642c6..ec91977b74 100644 --- a/docs/social-media.md +++ b/docs/social-media.md @@ -68,9 +68,9 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性 动画 -| MAD·AMV | MMD·3D | 短片 · 手书 · 配音 | 综合 | -| ------- | ------ | ------------------ | ---- | -| 24 | 25 | 47 | 27 | +| MAD·AMV | MMD·3D | 短片・手书・配音 | 综合 | +| ------- | ------ | ---------------- | ---- | +| 24 | 25 | 47 | 27 | 番剧 @@ -104,9 +104,9 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性 科技 -| 趣味科普人文 | 野生技术协会 | 演讲 · 公开课 | 星海 | 数码 | 机械 | 汽车 | -| ------------ | ------------ | ------------- | ---- | ---- | ---- | ---- | -| 124 | 122 | 39 | 96 | 95 | 98 | 176 | +| 趣味科普人文 | 野生技术协会 | 演讲・公开课 | 星海 | 数码 | 机械 | 汽车 | +| ------------ | ------------ | ------------ | ---- | ---- | ---- | ---- | +| 124 | 122 | 39 | 96 | 95 | 98 | 176 | 生活 @@ -140,15 +140,15 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性 影视 -| 影视杂谈 | 影视剪辑 | 短片 | 预告 · 资讯 | 特摄 | -| -------- | -------- | ---- | ----------- | ---- | -| 182 | 183 | 85 | 184 | 86 | +| 影视杂谈 | 影视剪辑 | 短片 | 预告・资讯 | 特摄 | +| -------- | -------- | ---- | ---------- | ---- | +| 182 | 183 | 85 | 184 | 86 | 纪录片 -| 全部 | 人文 · 历史 | 科学 · 探索 · 自然 | 军事 | 社会 · 美食 · 旅行 | -| ---- | ----------- | ------------------ | ---- | ------------------ | -| 177 | 37 | 178 | 179 | 180 | +| 全部 | 人文・历史 | 科学・探索・自然 | 军事 | 社会・美食・旅行 | +| ---- | ---------- | ---------------- | ---- | ---------------- | +| 177 | 37 | 178 | 179 | 180 | 电影 diff --git a/docs/study.md b/docs/study.md index 3218564eeb..1a328c98f4 100644 --- a/docs/study.md +++ b/docs/study.md @@ -215,9 +215,9 @@ pageClass: routes 学科分类 -| 全部 | 计算机 | 经管 · 会计 | 创业 | 电子 | 工程 | 环境 · 地球 | 医学 · 健康 | 生命科学 | 数学 | 物理 | 化学 | 社科 · 法律 | 文学 | 历史 | 哲学 | 艺术 · 设计 | 外语 | 教育 | 其他 | 大学先修课 | 公共管理 | 建筑 | 职场 | 全球胜任力 | -| ---- | ------ | ----------- | ---- | ---- | ---- | ----------- | ----------- | -------- | ---- | ---- | ---- | ----------- | ---- | ---- | ---- | ----------- | ---- | ---- | ---- | ---------- | -------- | ---- | ---- | ---------- | -| -1 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 201 | 2550 | 2783 | 2952 | 6200 | +| 全部 | 计算机 | 经管・会计 | 创业 | 电子 | 工程 | 环境・地球 | 医学・健康 | 生命科学 | 数学 | 物理 | 化学 | 社科・法律 | 文学 | 历史 | 哲学 | 艺术・设计 | 外语 | 教育 | 其他 | 大学先修课 | 公共管理 | 建筑 | 职场 | 全球胜任力 | +| ---- | ------ | ---------- | ---- | ---- | ---- | ---------- | ---------- | -------- | ---- | ---- | ---- | ---------- | ---- | ---- | ---- | ---------- | ---- | ---- | ---- | ---------- | -------- | ---- | ---- | ---------- | +| -1 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 201 | 2550 | 2783 | 2952 | 6200 | @@ -276,7 +276,7 @@ pageClass: routes > 参数置空(`/zhishifenzi/innovation`)获取所有类别 -## 中国大学 MOOC(慕课) +## 中国大学 MOOC (慕课) ### 最新 diff --git a/docs/support/README.md b/docs/support/README.md index 7cb20438f0..b36237ebfd 100644 --- a/docs/support/README.md +++ b/docs/support/README.md @@ -4,13 +4,13 @@ sidebar: auto # 支持 RSSHub -RSSHub 是采用 MIT 许可的开源项目, 使用完全免费. 但是随着项目规模的增长, 也需要有相应的资金支持才能持续项目的维护与开发. +RSSHub 是采用 MIT 许可的开源项目,使用完全免费。但是随着项目规模的增长,也需要有相应的资金支持才能持续项目的维护与开发. 你可以通过下列的方法来赞助 RSSHub 的开发. ## 周期性赞助 -周期性赞助可以获得额外的回报, 比如更快的 GitHub 响应或者你的名字会出现在 RSSHub 的 GitHub 仓库和现在我们的官网中. +周期性赞助可以获得额外的回报,比如更快的 GitHub 响应或者你的名字会出现在 RSSHub 的 GitHub 仓库和现在我们的官网中. - 通过 [Patreon](https://www.patreon.com/DIYgod) 赞助 - 通过 [爱发电](https://afdian.net/@diygod) 赞助 diff --git a/docs/traditional-media.md b/docs/traditional-media.md index 53936a3f98..908b0c194b 100644 --- a/docs/traditional-media.md +++ b/docs/traditional-media.md @@ -22,12 +22,12 @@ pageClass: routes -通过提取文章全文, 以提供比官方源更佳的阅读体验. +通过提取文章全文,以提供比官方源更佳的阅读体验. -支持大部分频道, 频道名称见[官方频道 RSS](https://www.bbc.co.uk/news/10628494). +支持大部分频道,频道名称见[官方频道 RSS](https://www.bbc.co.uk/news/10628494). -- 频道为单一路径, 如 则为 `/bbc/business`. -- 频道包含多重路径, 如 则替换 `/` 为 `-` `/bbc/world-asia`. +- 频道为单一路径,如 则为 `/bbc/business`. +- 频道包含多重路径,如 则替换 `/` 为 `-` `/bbc/world-asia`. - 例外: BBC 中文网为 `/bbc/chinese`, 繁体中文为 `/bbc/traditionalchinese`. @@ -51,12 +51,12 @@ pageClass: routes ::: -通过提取文章全文, 以提供比官方源更佳的阅读体验. +通过提取文章全文,以提供比官方源更佳的阅读体验. -支持所有频道, 频道名称见[官方频道 RSS](http://www.ftchinese.com/channel/rss.html). +支持所有频道,频道名称见[官方频道 RSS](http://www.ftchinese.com/channel/rss.html). -- 频道为单一路径, 如 则为 `/ft/chinese/news`. -- 频道包含多重路径, 如 则替换 `/` 为 `-` `/ft/chinese/column-007000002`. +- 频道为单一路径,如 则为 `/ft/chinese/news`. +- 频道包含多重路径,如 则替换 `/` 为 `-` `/ft/chinese/column-007000002`. @@ -130,7 +130,7 @@ Solidot 提供的 feed: ## 财新网 -> 网站部分内容需要付费订阅, RSS 仅做更新提醒, 不含付费内容. +> 网站部分内容需要付费订阅,RSS 仅做更新提醒,不含付费内容. ### 新闻分类 @@ -338,7 +338,7 @@ category 对应的关键词有 -`cid`可在对应栏目的 url 后的参数中获取, 如`热点快报`的栏目 url 为`http://www.ifnews.com/column.html?cid=48`, `cid`即为`48`. +`cid`可在对应栏目的 url 后的参数中获取,如`热点快报`的栏目 url 为`http://www.ifnews.com/column.html?cid=48`, `cid`即为`48`. diff --git a/docs/travel.md b/docs/travel.md index 8f3fbe77cf..1a07c65a38 100644 --- a/docs/travel.md +++ b/docs/travel.md @@ -18,8 +18,8 @@ pageClass: routes 举例: [https://rsshub.app/atfd/us+new york, gb+london/1](https://rsshub.app/atfd/us+new%20york,gb+london/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) @@ -31,11 +31,11 @@ ISO 3166-1 国家代码列表请参见 [维基百科 ISO_3166-1](https://zh.wiki -本路由返回由 Hopper 算法给出的现在可购入最便宜的折扣机票, 通常包含 6 个结果. 出行日期将由 Hopper 算法定义, 可能是明天也可能是 10 个月后. +本路由返回由 Hopper 算法给出的现在可购入最便宜的折扣机票,通常包含 6 个结果。出行日期将由 Hopper 算法定义,可能是明天也可能是 10 个月后. 伦敦希思罗 ✈ 北京首都国际 -IATA 国际航空运输协会机场代码, 参见[维基百科 国际航空运输协会机场代码]() +IATA 国际航空运输协会机场代码,参见[维基百科 国际航空运输协会机场代码]() diff --git a/docs/university.md b/docs/university.md index 342f8389ba..af74b90559 100644 --- a/docs/university.md +++ b/docs/university.md @@ -1303,7 +1303,7 @@ type 列表: -注意: 除了 `kydt` 代表学术动态, 其余页面均是拼音首字母小写. +注意:除了 `kydt` 代表学术动态,其余页面均是拼音首字母小写. | **内容** | **参数** | | :------: | :------: | @@ -1351,7 +1351,7 @@ type 列表: ::: tip 提示 -支持`http://dean.xjtu.edu.cn/`下所有**有文章列表**的栏目, +支持`http://dean.xjtu.edu.cn/`下所有**有文章列表**的栏目, 例如`http://dean.xjtu.edu.cn/gzlc.htm`, 则`subpath`为`gzlc` diff --git a/package.json b/package.json index 6cfbd8a59e..c294474a02 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "pretty-quick": "2.0.1", "remark": "12.0.0", "remark-frontmatter": "2.0.0", - "remark-pangu": "1.0.1", + "remark-pangu": "2.1.1", "remark-preset-prettier": "0.4.0", "staged-git-files": "1.2.0", "string-width": "4.2.0", diff --git a/yarn.lock b/yarn.lock index 98fdeacc27..66a49a7d1a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9190,10 +9190,10 @@ pako@^1.0.10, pako@~1.0.5: resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" integrity sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw== -pangu@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/pangu/-/pangu-3.3.0.tgz#e8ca9711b6ae49b609441528406030dae2e32e68" - integrity sha1-6MqXEbauSbYJRBUoQGAw2uLjLmg= +pangu@^4.0.7: + version "4.0.7" + resolved "https://registry.yarnpkg.com/pangu/-/pangu-4.0.7.tgz#2a40347733b004a040d011de460cc313c10391c9" + integrity sha512-weZKJIwwy5gjt4STGVUH9bix3BGk7wZ2ahtIypwe3e/mllsrIZIvtfLx1dPX56GcpZFOCFKmeqI1qVuB9enRzA== parallel-transform@^1.1.0: version "1.1.0" @@ -10425,14 +10425,14 @@ remark-frontmatter@2.0.0: dependencies: fault "^1.0.1" -remark-pangu@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/remark-pangu/-/remark-pangu-1.0.1.tgz#b78424b083f70254762acea533220a62664d01c3" - integrity sha1-t4QksIP3AlR2Ks6lMyIKYmZNAcM= +remark-pangu@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/remark-pangu/-/remark-pangu-2.1.1.tgz#845e837271a89074e2e8ff75d1d8764c5628f0fd" + integrity sha512-KVsDkF1EndVXlnNapNwWuus4UjifwzX45ic6Vkx9d8DEo1ZzS/F9yPbEJuM5b/EPxKAyN/PtAMUdEXMoCpSfBw== dependencies: - pangu "^3.3.0" - unist-util-is "^2.1.1" - unist-util-visit "^1.1.3" + pangu "^4.0.7" + unist-util-is "^4.0.2" + unist-util-visit "^2.0.2" remark-parse@^8.0.0: version "8.0.2" @@ -12210,17 +12210,7 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -unist-util-is@^2.1.1: - version "2.1.3" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-2.1.3.tgz#459182db31f4742fceaea88d429693cbf0043d20" - integrity sha512-4WbQX2iwfr/+PfM4U3zd2VNXY+dWtZsN1fLnWEi2QQXA4qyDYAZcDMfXUX0Cu6XZUHHAO9q4nyxxLT4Awk1qUA== - -unist-util-is@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-3.0.0.tgz#d9e84381c2468e82629e4a5be9d7d05a2dd324cd" - integrity sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A== - -unist-util-is@^4.0.0: +unist-util-is@^4.0.0, unist-util-is@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-4.0.2.tgz#c7d1341188aa9ce5b3cff538958de9895f14a5de" integrity sha512-Ofx8uf6haexJwI1gxWMGg6I/dLnF2yE+KibhD3/diOqY2TinLcqHXCV6OI5gFVn3xQqDH+u0M625pfKwIwgBKQ== @@ -12239,13 +12229,6 @@ unist-util-stringify-position@^2.0.0: dependencies: "@types/unist" "^2.0.2" -unist-util-visit-parents@^2.0.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz#25e43e55312166f3348cae6743588781d112c1e9" - integrity sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g== - dependencies: - unist-util-is "^3.0.0" - unist-util-visit-parents@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-3.0.2.tgz#d4076af3011739c71d2ce99d05de37d545f4351d" @@ -12254,14 +12237,7 @@ unist-util-visit-parents@^3.0.0: "@types/unist" "^2.0.0" unist-util-is "^4.0.0" -unist-util-visit@^1.1.3: - version "1.4.1" - resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.1.tgz#4724aaa8486e6ee6e26d7ff3c8685960d560b1e3" - integrity sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw== - dependencies: - unist-util-visit-parents "^2.0.0" - -unist-util-visit@^2.0.0: +unist-util-visit@^2.0.0, unist-util-visit@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.2.tgz#3843782a517de3d2357b4c193b24af2d9366afb7" integrity sha512-HoHNhGnKj6y+Sq+7ASo2zpVdfdRifhTgX2KTU3B/sO/TTlZchp7E3S4vjRzDJ7L60KmrCPsQkVK3lEF3cz36XQ==