mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-23 08:09:48 -05:00
stop preferring single file download from ytdlp
This commit is contained in:
parent
16921d11be
commit
ef59f474bd
@ -249,11 +249,9 @@ def _build_youtube_dl(worker, destdir, site, page):
|
||||
"postprocessor_hooks": [ydl_postprocess_hook],
|
||||
# https://github.com/yt-dlp/yt-dlp#format-selection
|
||||
# "By default, yt-dlp tries to download the best available quality..."
|
||||
# pre-v.2023.07.06: "format_sort": ["ext"],
|
||||
# v.2023.07.06 https://www.reddit.com/r/youtubedl/wiki/h264/?rdt=63577
|
||||
# recommended: convert working cli to api call with
|
||||
# https://github.com/yt-dlp/yt-dlp/blob/master/devscripts/cli_to_api.py
|
||||
"format": "b/bv+ba",
|
||||
"format_sort": ["res:720", "vcodec:h264", "acodec:aac"],
|
||||
# skip live streams
|
||||
"match_filter": match_filter_func("!is_live"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user