1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[pluralsight] Clarify allowed qualities guessing rationale

This commit is contained in:
Sergey M․ 2015-11-22 00:56:40 +06:00
parent a3372437bf
commit cf186b77a7

View file

@ -139,6 +139,9 @@ class PluralsightIE(PluralsightBaseIE):
AllowedQuality('mp4', ('low', 'medium', 'high',)), 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): if self._downloader.params.get('listformats', False):
allowed_qualities = ALLOWED_QUALITIES allowed_qualities = ALLOWED_QUALITIES
else: else: