Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Update README and add explanation of proxy #22

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ The configurations locate at [`config.py`](./pixiv_utils/pixiv_crawler/config.py
network_config.proxy["https"] = ""
```

The default `proxy["https"]` value is `127.0.0.1:7890`, which is the default proxy port of clash. It needs to be changed according to the actual proxy settings. **If you do not need a proxy, please set the https attribute to "".**

- `network_config.headers: Dict`: The headers used in the request.

- `UserConfig`
Expand Down
2 changes: 2 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ if __name__ == "__main__":
network_config.proxy["https"] = ""
```

默认 `proxy["https"]` 值为 `127.0.0.1:7890`,即 clash 的默认代理端口,需要根据实际的代理设置进行变更。**如果无需代理,请将 https 属性置为""。**

- `network_config.headers: Dict`: 请求中使用的标头。

- `UserConfig`
Expand Down
Loading