Browse Source

[pluralsight] prevent error 429 when sensing video formats

totalwebcasting
Andrzej Lichnerowicz 9 years ago
committed by Sergey M․
parent
commit
bea56c9569
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      youtube_dl/extractor/pluralsight.py

+ 3
- 0
youtube_dl/extractor/pluralsight.py View File

@ -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({


Loading…
Cancel
Save