add socket_timeout when passing check_formats to yt-dlp
This commit is contained in:
parent
8f72c5f42c
commit
ca3ea20283
|
@ -128,6 +128,7 @@ class PendingList(PendingIndex):
|
|||
"noplaylist": True,
|
||||
"writethumbnail": True,
|
||||
"simulate": True,
|
||||
"socket_timeout": 3,
|
||||
}
|
||||
|
||||
def __init__(self, youtube_ids=False):
|
||||
|
|
|
@ -281,6 +281,7 @@ class VideoDownloader:
|
|||
"writethumbnail": False,
|
||||
"noplaylist": True,
|
||||
"check_formats": "selected",
|
||||
"socket_timeout": 3,
|
||||
}
|
||||
|
||||
def _build_obs_user(self):
|
||||
|
|
|
@ -23,6 +23,7 @@ class YouTubeItem:
|
|||
"default_search": "ytsearch",
|
||||
"skip_download": True,
|
||||
"check_formats": "selected",
|
||||
"socket_timeout": 3,
|
||||
"noplaylist": True,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue