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

是否可以指定代理 #150

Open
billypon opened this issue Jan 6, 2021 · 1 comment
Open

是否可以指定代理 #150

billypon opened this issue Jan 6, 2021 · 1 comment

Comments

@billypon
Copy link

billypon commented Jan 6, 2021

config.py中虽然有proxies的配置,在这里可以配置多个代理,最终程序会随机选择一个代理发送请求。

但实际上这会有两个问题:
1、有的请求可以不需要代理,但只要你配置了代理就所有的请求都一定会使用其中一个代理
2、有的请求是和ip绑定的,所以在需要使用代理的时候只能通过特定的那个代理才能成功签到,随机代理会导致请求失败

@billypon
Copy link
Author

billypon commented Jan 6, 2021

我的建议是,请求的时候不要自动选择随机代理,而是改为新建签到的时候,通过下拉框选择使用哪个代理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant