mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2024-12-28 02:26:14 +00:00
urllib3 SSLError check when downloading the track
This commit is contained in:
parent
958f80c1f8
commit
2c807ffc43
|
@ -709,7 +709,7 @@ class DownloadJob:
|
|||
self.downloadPercentage += chunkProgres
|
||||
self.updatePercentage()
|
||||
|
||||
except SSLError as e:
|
||||
except (SSLError, u3SSLError) as e:
|
||||
logger.info(f'{itemName} retrying from byte {chunkLength}')
|
||||
return self.streamTrack(stream, track, chunkLength)
|
||||
except (request_exception.ConnectionError, requests.exceptions.ReadTimeout):
|
||||
|
|
Loading…
Reference in a new issue