mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 06:03:23 +02:00
update default YOUTUBEDL_ARGS to fix subs and filesize
This commit is contained in:
@@ -149,10 +149,7 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = {
|
|||||||
'--write-thumbnail',
|
'--write-thumbnail',
|
||||||
'--no-call-home',
|
'--no-call-home',
|
||||||
'--write-sub',
|
'--write-sub',
|
||||||
'--all-subs',
|
'--write-auto-subs',
|
||||||
# There are too many of these and youtube
|
|
||||||
# throttles you with HTTP error 429
|
|
||||||
#'--write-auto-subs',
|
|
||||||
'--convert-subs=srt',
|
'--convert-subs=srt',
|
||||||
'--yes-playlist',
|
'--yes-playlist',
|
||||||
'--continue',
|
'--continue',
|
||||||
@@ -165,7 +162,7 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = {
|
|||||||
'--ignore-errors',
|
'--ignore-errors',
|
||||||
'--geo-bypass',
|
'--geo-bypass',
|
||||||
'--add-metadata',
|
'--add-metadata',
|
||||||
'--max-filesize={}'.format(c['MEDIA_MAX_SIZE']),
|
'--format=(bv*+ba/b)[filesize<={}][filesize_approx<=?{}]/(bv*+ba/b)'.format(c['MEDIA_MAX_SIZE'], c['MEDIA_MAX_SIZE']),
|
||||||
]},
|
]},
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user