好友
阅读权限10
听众
最后登录1970-1-1
|
Exception in Tkinter callback
Traceback (most recent call last):
File "site-packages\urllib3\connection.py", line 157, in _new_conn
File "site-packages\urllib3\util\connection.py", line 61, in create_connection
File "socket.py", line 752, in getaddrinfo
socket.gaierror: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\urllib3\connectionpool.py", line 672, in urlopen
File "site-packages\urllib3\connectionpool.py", line 376, in _make_request
File "site-packages\urllib3\connectionpool.py", line 994, in _validate_conn
File "site-packages\urllib3\connection.py", line 300, in connect
File "site-packages\urllib3\connection.py", line 169, in _new_conn
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x00000253C6FDF508>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\requests\adapters.py", line 449, in send
File "site-packages\urllib3\connectionpool.py", line 720, in urlopen
File "site-packages\urllib3\util\retry.py", line 436, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.bilibili.com', port=443): Max retries exceeded with url: /video/BV1o7411N79f (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x00000253C6FDF508>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tkinter\__init__.py", line 1705, in __call__
File "爬虫教学\项目\小破站\下载B站视频.py", line 356, in bv
File "爬虫教学\项目\小破站\下载B站视频.py", line 199, in method_bv
File "爬虫教学\项目\小破站\下载B站视频.py", line 19, in get_download_url
File "爬虫教学\项目\小破站\下载B站视频.py", line 137, in check_p
File "site-packages\requests\api.py", line 76, in get
File "site-packages\requests\api.py", line 61, in request
File "site-packages\requests\sessions.py", line 530, in request
File "site-packages\requests\sessions.py", line 643, in send
File "site-packages\requests\adapters.py", line 516, in send
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.bilibili.com', port=443): Max retries exceeded with url: /video/BV1o7411N79f (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x00000253C6FDF508>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')) |
|