mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 03:03:01 +00:00
[pluralsight] Clarify allowed qualities guessing rationale
This commit is contained in:
parent
a3372437bf
commit
cf186b77a7
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,9 @@ def _real_extract(self, url):
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue