qq_music_downloader
qq_music_downloader copied to clipboard
SSL error while downloading
Same when running python2 and 3
Running v2.
python2 output:
Traceback (most recent call last):
File "music.v2.py", line 81, in
python3 output: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 597, in urlopen self._prepare_proxy(conn) File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 807, in _prepare_proxy conn.connect() File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 390, in connect _match_hostname(cert, self.assert_hostname or server_hostname) File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 400, in _match_hostname match_hostname(cert, asserted_hostname) File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 338, in match_hostname % (hostname, dnsnames[0])) ssl.SSLCertVerificationError: ("hostname 'api.bzqll.com' doesn't match 'api.hibai.cn'",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 641, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.bzqll.com', port=443): Max retries exceeded with url: /music/tencent/songList?key=579621905&id=4121058857 (Caused by SSLError(SSLCertVerificationError("hostname 'api.bzqll.com' doesn't match 'api.hibai.cn'")))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "music.v2.py", line 81, in