mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 17:41:01 +01:00
fix increment operator
This commit is contained in:
parent
7b61ac3ddf
commit
754f0008ec
@ -135,7 +135,7 @@ def _real_extract(self, url):
|
|||||||
if download_tries > 3:
|
if download_tries > 3:
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
++download_tries
|
download_tries += 1
|
||||||
time.sleep(avg_song_duration)
|
time.sleep(avg_song_duration)
|
||||||
|
|
||||||
api_data = json.loads(api_json)
|
api_data = json.loads(api_json)
|
||||||
|
Loading…
Reference in New Issue
Block a user