From b25818dbc37e8bfa1f5aeccf68976fd42543ee75 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 17 Sep 2022 10:31:51 +0700 Subject: [PATCH] extend timeout, add retry to YtWrap --- tubearchivist/home/src/download/yt_dlp_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tubearchivist/home/src/download/yt_dlp_base.py b/tubearchivist/home/src/download/yt_dlp_base.py index 397784e..2ab6248 100644 --- a/tubearchivist/home/src/download/yt_dlp_base.py +++ b/tubearchivist/home/src/download/yt_dlp_base.py @@ -20,7 +20,8 @@ class YtWrap: "default_search": "ytsearch", "quiet": True, "check_formats": "selected", - "socket_timeout": 2, + "socket_timeout": 3, + "extractor_retries": 3, } def __init__(self, obs_request, config=False):