[pluralsight] Clarify allowed qualities guessing rationale
authorSergey M․ <dstftw@gmail.com>
Sat, 21 Nov 2015 18:56:40 +0000 (00:56 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 21 Nov 2015 18:56:40 +0000 (00:56 +0600)
youtube_dl/extractor/pluralsight.py

index 16de0fd1c6ce73f28544699024c535d336cc88ee..3dee616c17f3659b34d26563aa1db8efea6b3079 100644 (file)
@@ -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: