X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Feighttracks.py;h=f093592a85da872ca0b206d222e025c08f124dff;hb=754f0008ec6b87316ce3e4807f150726ff2af3c5;hp=101a096999b6b2b7c65104b2c1b245c7d233bc2f;hpb=7b61ac3ddf0bfe660266e70fc7c10f048758698f;p=youtube-dl 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)