projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a337243
)
[pluralsight] Clarify allowed qualities guessing rationale
author
Sergey M․
<dstftw@gmail.com>
Sat, 21 Nov 2015 18:56:40 +0000
(
00:56
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 21 Nov 2015 18:56:40 +0000
(
00:56
+0600)
youtube_dl/extractor/pluralsight.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pluralsight.py
b/youtube_dl/extractor/pluralsight.py
index 16de0fd1c6ce73f28544699024c535d336cc88ee..3dee616c17f3659b34d26563aa1db8efea6b3079 100644
(file)
--- a/
youtube_dl/extractor/pluralsight.py
+++ b/
youtube_dl/extractor/pluralsight.py
@@
-139,6
+139,9
@@
class PluralsightIE(PluralsightBaseIE):
AllowedQuality('mp4', ('low', 'medium', 'high',)),
)
+ # In order to minimize the number of calls to ViewClip API and reduce
+ # the probability of being throttled or banned by Pluralsight we will request
+ # only single format until explicit listformats was requested.
if self._downloader.params.get('listformats', False):
allowed_qualities = ALLOWED_QUALITIES
else: