fix(route): github comments use api (#9358)
fix(route): github comments use api
This commit is contained in:
@@ -534,7 +534,7 @@ See docs of the specified route and `lib/config.js` for detailed information.
|
||||
- `EH_SK`: The value of `sk` in the cookie header after logging in E-Hentai
|
||||
- `EH_IGNEOUS`: The value of `igneous` in the cookie header after logging in ExHentai. If this value is set, RSS will be generated from ExHentai, `EH_SK` will be ignored.
|
||||
|
||||
- github: [Access Token application](https://github.com/settings/tokens)
|
||||
- GitHub: [Access Token application](https://github.com/settings/tokens)
|
||||
|
||||
- `GITHUB_ACCESS_TOKEN`: GitHub Access Token
|
||||
|
||||
|
||||
@@ -191,9 +191,9 @@ For instance, the `/github/topics/framework/l=php&o=desc&s=stars` route will gen
|
||||
|
||||
<RouteEn author="zoenglinghou" example="/github/contributors/DIYgod/RSSHub" path="/github/contributors/:user/:repo/:order?/:anon?" :paramsDesc="['User name','Repo name','Sort order by commit numbers, desc and asc (descending by default)','Show anonymous users. Defaults to no, use any values for yes.']" radar="1" rssbud="1"/>
|
||||
|
||||
### Issues / Pull Requests comments
|
||||
### Issue / Pull Request comments
|
||||
|
||||
<RouteEn author="TonyRL" example="/github/comments/DIYgod/RSSHub/issues/8116" path="/github/comments/:user/:repo/:type/:number" :paramsDesc="['User / Org name', 'Repo name', 'Type, `issues` or `pull`', 'Number']"/>
|
||||
<RouteEn author="TonyRL" example="/github/comments/DIYgod/RSSHub/8116" path="/github/comments/:user/:repo/:number" :paramsDesc="['User / Org name', 'Repo name', 'Issue or pull number']"/>
|
||||
|
||||
## GitLab
|
||||
|
||||
|
||||
@@ -565,7 +565,7 @@ RSSHub 支持使用访问密钥 / 码,白名单和黑名单三种方式进行
|
||||
- `EH_SK`: E-Hentai 账户登录后 cookie 中的`sk`值
|
||||
- `EH_IGNEOUS`: ExHentai 账户登录后 cookie 中的`igneous`值。若设置此值,RSS 数据将全部从里站获取,`EH_SK`将被忽略
|
||||
|
||||
- github 全部路由:[申请地址](https://github.com/settings/tokens)
|
||||
- GitHub 全部路由:[申请地址](https://github.com/settings/tokens)
|
||||
|
||||
- `GITHUB_ACCESS_TOKEN`: GitHub Access Token
|
||||
|
||||
|
||||
+2
-2
@@ -269,9 +269,9 @@ GitHub 官方也提供了一些 RSS:
|
||||
|
||||
<Route author="zoenglinghou" example="/github/contributors/DIYgod/RSSHub" path="/github/contributors/:user/:repo/:order?/:anon?" :paramsDesc="['用户名', '仓库名', 'Commit 数量排序顺序,desc和asc(默认desc降序)', '是否包括匿名用户,默认不包含,任意值包含匿名用户']" radar="1" rssbud="1"/>
|
||||
|
||||
### Issues / Pull Requests 评论
|
||||
### Issue / Pull Request 评论
|
||||
|
||||
<Route author="TonyRL" example="/github/comments/DIYgod/RSSHub/issues/8116" path="/github/comments/:user/:repo/:type/:number" :paramsDesc="['用户名', '仓库', '类型,`issues`或`pull`', '编号']"/>
|
||||
<Route author="TonyRL" example="/github/comments/DIYgod/RSSHub/8116" path="/github/comments/:user/:repo/:number" :paramsDesc="['用户名', '仓库', 'Issue 或 pull 编号']"/>
|
||||
|
||||
## GitLab
|
||||
|
||||
|
||||
Reference in New Issue
Block a user