commit: 79e4ccfc4b395127bb3e5e957b20b04e75cba355
parent 06159135ef148a6ddc632d0c89b90c937d5bb021
Author: quyleanh <quyleanh@users.noreply.github.com>
Date: Sat, 17 Apr 2021 00:30:10 +0700
[pluralsight] Extend anti-throttling timeout (#28712)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: