You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
错误信息:
HTTPSConnectionPool(host='weibo.cn', port=443): Max retries exceeded with url: /1669879400/profile (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:852)'),))
Traceback (most recent call last):
File "D:\Program Files\Python36\lib\site-packages\urllib3\connectionpool.py", line 696, in urlopen
self._prepare_proxy(conn)
File "D:\Program Files\Python36\lib\site-packages\urllib3\connectionpool.py", line 964, in _prepare_proxy
conn.connect()
File "D:\Program Files\Python36\lib\site-packages\urllib3\connection.py", line 364, in connect
conn = self._connect_tls_proxy(hostname, conn)
File "D:\Program Files\Python36\lib\site-packages\urllib3\connection.py", line 507, in connect_tls_proxy
ssl_context=ssl_context,
File "D:\Program Files\Python36\lib\site-packages\urllib3\util\ssl.py", line 453, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "D:\Program Files\Python36\lib\site-packages\urllib3\util\ssl.py", line 495, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "D:\Program Files\Python36\lib\ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "D:\Program Files\Python36\lib\ssl.py", line 817, in init
self.do_handshake()
File "D:\Program Files\Python36\lib\ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "D:\Program Files\Python36\lib\ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:852)
The text was updated successfully, but these errors were encountered:
为了更好的解决问题,请认真回答下面的问题。等到问题解决,请及时关闭本issue。
答:github版
答:是
答:是
答:
答:
答:安装好后,并且填上cookies后,运行“main.py”直接无法爬取,报如下错误,貌似是没连接上。cookies已按要求填好,无误。
错误信息:
HTTPSConnectionPool(host='weibo.cn', port=443): Max retries exceeded with url: /1669879400/profile (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:852)'),))
Traceback (most recent call last):
File "D:\Program Files\Python36\lib\site-packages\urllib3\connectionpool.py", line 696, in urlopen
self._prepare_proxy(conn)
File "D:\Program Files\Python36\lib\site-packages\urllib3\connectionpool.py", line 964, in _prepare_proxy
conn.connect()
File "D:\Program Files\Python36\lib\site-packages\urllib3\connection.py", line 364, in connect
conn = self._connect_tls_proxy(hostname, conn)
File "D:\Program Files\Python36\lib\site-packages\urllib3\connection.py", line 507, in connect_tls_proxy
ssl_context=ssl_context,
File "D:\Program Files\Python36\lib\site-packages\urllib3\util\ssl.py", line 453, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "D:\Program Files\Python36\lib\site-packages\urllib3\util\ssl.py", line 495, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock)
File "D:\Program Files\Python36\lib\ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "D:\Program Files\Python36\lib\ssl.py", line 817, in init
self.do_handshake()
File "D:\Program Files\Python36\lib\ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "D:\Program Files\Python36\lib\ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:852)
The text was updated successfully, but these errors were encountered: