[pluralsight] Extend anti-throttling timeout (#28712)
authorquyleanh <quyleanh@users.noreply.github.com>
Fri, 16 Apr 2021 17:30:10 +0000 (00:30 +0700)
committerGitHub <noreply@github.com>
Fri, 16 Apr 2021 17:30:10 +0000 (00:30 +0700)
youtube_dl/extractor/pluralsight.py

index abd08bc285c3c107bd548ddf0ec1c86fe77ecd9a..2d63855df55bc4137644beaf688f384acddea333 100644 (file)
@@ -393,7 +393,7 @@ query viewClip {
                 # To somewhat reduce the probability of these consequences
                 # we will sleep random amount of time before each call to ViewClip.
                 self._sleep(
-                    random.randint(2, 5), display_id,
+                    random.randint(5, 10), display_id,
                     '%(video_id)s: Waiting for %(timeout)s seconds to avoid throttling')
 
                 if not viewclip: