projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e508ff
)
[pluralsight] prevent error 429 when sensing video formats
author
Andrzej Lichnerowicz
<andrzej@lichnerowicz.pl>
Sat, 26 Sep 2015 19:58:33 +0000
(21:58 +0200)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 21 Nov 2015 17:49:58 +0000
(23:49 +0600)
youtube_dl/extractor/pluralsight.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pluralsight.py
b/youtube_dl/extractor/pluralsight.py
index 7693282a59ababcf861695fed1ba06d7a7271fab..d542a9e0e8c60ac08921cc07bdcbcb99bd99c274 100644
(file)
--- a/
youtube_dl/extractor/pluralsight.py
+++ b/
youtube_dl/extractor/pluralsight.py
@@
-156,6
+156,9
@@
class PluralsightIE(PluralsightBaseIE):
format_id = '%s-%s' % (ext, quality)
clip_url = self._download_webpage(
request, display_id, 'Downloading %s URL' % format_id, fatal=False)
+ # #6989: sleep 3 seconds to avoid 429 errors.
+ # should help with #6842.
+ self._sleep(3, display_id)
if not clip_url:
continue
f.update({