about summary refs log tree commit diff
diff options
context:
space:
mode:
authorquyleanh <quyleanh@users.noreply.github.com>2021-04-17 00:30:10 +0700
committerGitHub <noreply@github.com>2021-04-17 00:30:10 +0700
commit79e4ccfc4b395127bb3e5e957b20b04e75cba355 (patch)
tree3dcae032539430607f2d7255a6ddba1693d377a8
parent06159135ef148a6ddc632d0c89b90c937d5bb021 (diff)
downloadyoutube-dl-79e4ccfc4b395127bb3e5e957b20b04e75cba355.tar.gz
youtube-dl-79e4ccfc4b395127bb3e5e957b20b04e75cba355.tar.xz
youtube-dl-79e4ccfc4b395127bb3e5e957b20b04e75cba355.zip
[pluralsight] Extend anti-throttling timeout (#28712)
-rw-r--r--youtube_dl/extractor/pluralsight.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pluralsight.py b/youtube_dl/extractor/pluralsight.py
index abd08bc28..2d63855df 100644
--- a/youtube_dl/extractor/pluralsight.py
+++ b/youtube_dl/extractor/pluralsight.py
@@ -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: