好友
阅读权限10
听众
最后登录1970-1-1
|
云深不知处
发表于 2018-9-10 16:56
请输入你需要下载的歌曲:一生所爱
Traceback (most recent call last):
File "D:\development\Anaconda3\lib\site-packages\urllib3\connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "D:\development\Anaconda3\lib\site-packages\urllib3\util\connection.py", line 83, in create_connection
raise err
File "D:\development\Anaconda3\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\development\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen
chunked=chunked)
File "D:\development\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 346, in _make_request
self._validate_conn(conn)
File "D:\development\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 850, in _validate_conn
conn.connect()
File "D:\development\Anaconda3\lib\site-packages\urllib3\connection.py", line 284, in connect
conn = self._new_conn()
File "D:\development\Anaconda3\lib\site-packages\urllib3\connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x000001B043BE3E80>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\development\Anaconda3\lib\site-packages\requests\adapters.py", line 440, in send
timeout=timeout
File "D:\development\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "D:\development\Anaconda3\lib\site-packages\urllib3\util\retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='music.xxx.com', port=443): Max retries exceeded with url: /weapi/cloudsearch/get/web?csrf_token= (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001B043BE3E80>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\r1-12king\Desktop\1\云音乐下载.py", line 150, in <module>
main()
File "C:\Users\r1-12king\Desktop\1\云音乐下载.py", line 146, in main
spider.run()
File "C:\Users\r1-12king\Desktop\1\云音乐下载.py", line 78, in run
songs = self.__get_songs(name)
File "C:\Users\r1-12king\Desktop\1\云音乐下载.py", line 43, in __get_songs
response = requests.post(url, data=data, headers=self.headers).json()
File "D:\development\Anaconda3\lib\site-packages\requests\api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "D:\development\Anaconda3\lib\site-packages\requests\api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "D:\development\Anaconda3\lib\site-packages\requests\sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "D:\development\Anaconda3\lib\site-packages\requests\sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "D:\development\Anaconda3\lib\site-packages\requests\adapters.py", line 508, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='music.xxx.com', port=443): Max retries exceeded with url: /weapi/cloudsearch/get/web?csrf_token= (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001B043BE3E80>: Failed to establish a new connection: [WinError 10060] 由于连接方在一段时间后没有正确答复或连 接的主机没有反应,连接尝试失败。',))
反馈一下错误 |
|