From: Sergey M․ Date: Sat, 21 Nov 2015 18:56:40 +0000 (+0600) Subject: [pluralsight] Clarify allowed qualities guessing rationale X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=cf186b77a79a0bf6f322bc1e2f610471eab3b01c;p=youtube-dl.git [pluralsight] Clarify allowed qualities guessing rationale --- diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py index 16de0fd1c..3dee616c1 100644 --- 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: