Skip to content

Commit

Permalink
fix(docs): manga support for pixiv user activity (#6923)
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
xb2016 authored Feb 15, 2021
1 parent 508a47a commit 4d139d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/en/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 开启

Expand Down
1 change: 0 additions & 1 deletion lib/routes/pixiv/api/getIllusts.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ module.exports = async function getIllusts(user_id, token) {
searchParams: queryString.stringify({
user_id: user_id,
filter: 'for_ios',
type: 'illust',
}),
});
};

0 comments on commit 4d139d4

Please sign in to comment.