diff --git a/docs/en/install/README.md b/docs/en/install/README.md index d88c310d2a..6178e4db3d 100644 --- a/docs/en/install/README.md +++ b/docs/en/install/README.md @@ -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 diff --git a/docs/install/README.md b/docs/install/README.md index 77a5d6a314..0f1333d576 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -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 开启 diff --git a/lib/routes/pixiv/api/getIllusts.js b/lib/routes/pixiv/api/getIllusts.js index 6a112bd05c..87412d7419 100644 --- a/lib/routes/pixiv/api/getIllusts.js +++ b/lib/routes/pixiv/api/getIllusts.js @@ -19,7 +19,6 @@ module.exports = async function getIllusts(user_id, token) { searchParams: queryString.stringify({ user_id: user_id, filter: 'for_ios', - type: 'illust', }), }); };