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

代码无法运行,出现错误:由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 #73

Open
BoBoLIy opened this issue Jan 31, 2020 · 8 comments

Comments

@BoBoLIy
Copy link

BoBoLIy commented Jan 31, 2020

代码错误:HTTPConnectionPool(host='218.85.133.62', port=80): Max retries exceeded with url: http://space.bilibili.com/ajax/member/GetInfo (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x000001B922C3F4A8>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。',)))

求大神指导~

@taro-bot
Copy link

taro-bot bot commented Jan 31, 2020

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@SakuraPuare
Copy link

楼上+1

@SakuraPuare
Copy link

没看懂这个proxies是干什么的

@peacetakelove
Copy link

proxies可以干掉,但是点赞那边有bug,如果一个报错导致所有的关注和fans就没了

@tinyarrow
Copy link

干掉proxies后, jscontent一直是'{"status":false,"data":"\u63a5\u53e3\u5df2\u4e0b\u7ebf"}',没有正确的数据,请问有人遇到相同的问题吗

@ZWeiMin
Copy link

ZWeiMin commented Jul 12, 2021

proxies这个代理到底是什么ip?如果是自己的ip那代理有啥意义?代码当中的proxies能增加注释就好了,大佬

@airingursb
Copy link
Owner

proxies这个代理到底是什么ip?如果是自己的ip那代理有啥意义?代码当中的proxies能增加注释就好了,大佬

@ZWeiMin proxies 是代理池,防止用自己的 ip 去爬时导致 ip 被封

@Eimyy
Copy link

Eimyy commented Oct 28, 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

7 participants