fix(docs): manga support for pixiv user activity (#6923)

* fix: support refresh token login (#6883)

* docs: update pixiv login

* docs: update pixiv login

* docs: update pixiv config

* fix: manga support for pixiv user activity (#6879)
This commit is contained in:
小白-白
2021-02-14 22:12:37 -05:00
committed by GitHub
parent 508a47a506
commit 4d139d4a05
3 changed files with 3 additions and 5 deletions
+2 -3
View File
@@ -453,14 +453,13 @@ See docs of specified route and `lib/config.js` for detail information.
- pixiv: [Registration](https://accounts.pixiv.net/signup)
- `PIXIV_PIXIV_REFRESHTOKEN`: Please refer to [this article](https://gist.github.com/ZipFile/c9ebedb224406f4f11845ab700124362) to get a `refresh_token`
- `PIXIV_REFRESHTOKEN`: Please refer to [this article](https://gist.github.com/ZipFile/c9ebedb224406f4f11845ab700124362) to get a `refresh_token`
- `PIXIV_BYPASS_CDN`: bypass Cloudflare bot check by directly accessing Pixiv source server, defaults to disable, set `true` or `1` to enable
- `PIXIV_BYPASS_HOSTNAME`: Pixiv source server hostname or IP address, hostname will be resolved to IPv4 address via `PIXIV_BYPASS_DOH`, defaults to `public-api.secure.pixiv.net`
- `PIXIV_BYPASS_DOH`: DNS over HTTPS endpoint, it must be compatible with Cloudflare or Google DoH JSON schema, defaults to `https://1.1.1.1/dns-query`
- pixiv fanbox: Get paid content
+1 -1
View File
@@ -479,7 +479,7 @@ RSSHub 支持使用访问密钥 / 码,白名单和黑名单三种方式进行
- pixiv 全部路由:[注册地址](https://accounts.pixiv.net/signup)
- `PIXIV_PIXIV_REFRESHTOKEN`: Pixiv Refresh Token, 请参考 [此文](https://gist.github.com/ZipFile/c9ebedb224406f4f11845ab700124362) 获取,或自行对客户端抓包获取
- `PIXIV_REFRESHTOKEN`: Pixiv Refresh Token, 请参考 [此文](https://gist.github.com/ZipFile/c9ebedb224406f4f11845ab700124362) 获取,或自行对客户端抓包获取
- `PIXIV_BYPASS_CDN`: 绕过 Pixiv 前置的 Cloudflare CDN, 使用`PIXIV_BYPASS_HOSTNAME`指示的 IP 地址访问 Pixiv API, 可以解决因 Cloudflare 机器人验证导致的登录失败问题,默认关闭,设置 true 或 1 开启
-1
View File
@@ -19,7 +19,6 @@ module.exports = async function getIllusts(user_id, token) {
searchParams: queryString.stringify({
user_id: user_id,
filter: 'for_ios',
type: 'illust',
}),
});
};