diff --git a/youtube_dl/extractor/eighttracks.py b/youtube_dl/extractor/eighttracks.py index 101a09699..f093592a8 100644 --- a/youtube_dl/extractor/eighttracks.py +++ b/youtube_dl/extractor/eighttracks.py @@ -135,7 +135,7 @@ class EightTracksIE(InfoExtractor): if download_tries > 3: raise else: - ++download_tries + download_tries += 1 time.sleep(avg_song_duration) api_data = json.loads(api_json)