projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b61ac3
)
fix increment operator
author
netanel
<netanelmaman0@gmail.com>
Sat, 6 Dec 2014 07:20:35 +0000
(09:20 +0200)
committer
netanel
<netanelmaman0@gmail.com>
Sat, 6 Dec 2014 07:20:35 +0000
(09:20 +0200)
youtube_dl/extractor/eighttracks.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/eighttracks.py
b/youtube_dl/extractor/eighttracks.py
index 101a096999b6b2b7c65104b2c1b245c7d233bc2f..f093592a85da872ca0b206d222e025c08f124dff 100644
(file)
--- 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)