extend timeout, add retry to YtWrap

This commit is contained in:
simon 2022-09-17 10:31:51 +07:00
parent f2a8b070f2
commit b25818dbc3
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -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):