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

feapder v1.8.8 使用代理IP报错? #236

Open
suyin-long opened this issue Aug 23, 2023 · 2 comments
Open

feapder v1.8.8 使用代理IP报错? #236

suyin-long opened this issue Aug 23, 2023 · 2 comments

Comments

@suyin-long
Copy link

需知

升级feapder,保证feapder是最新版,若BUG仍然存在,则详细描述问题

pip install --upgrade feapder

问题
升级 feapder v1.8.8 后在 setting.py 中配置代理后使用报错
截图
1

代码

# # 设置代理
PROXY_EXTRACT_API = 'http://api.proxy.ipidea.io/getProxyIp?num=10&xxxxx'  # 代理提取API ,返回的代理分割符为\r\n
PROXY_ENABLE = True
PROXY_MAX_FAILED_TIMES = 5  # 代理最大失败次数,超过则不使用,自动删除
PROXY_POOL = "feapder.network.proxy_pool.ProxyPool"  # 代理池
@suyin-long
Copy link
Author

亲测,退回 feapder v1.8.6 后运行正常

# # 设置代理
PROXY_EXTRACT_API = 'http://api.proxy.ipidea.io/getProxyIp?num=10&xxxxx'  # 代理提取API ,返回的代理分割符为\r\n
PROXY_ENABLE = True

@463563466
Copy link

我靠 这个问题困扰我一周了,原来是新版本有问题???

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

2 participants