Created
October 8, 2024 06:43
-
-
Save av-gantimurov/ec98319db1ddcfcb3096e81acbfddd90 to your computer and use it in GitHub Desktop.
Конфигурационный файл для yt-dlp для загрузки видео с каналов по списку.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# downloading youtube video channels | |
# | |
# yt-dlp --config-location yt-dlp.conf | |
# or put this config to work directory | |
# | |
# list of channels in CUR_DIR/channels.txt | |
# | |
# video format not above 1080p + best audio | |
--continue | |
--ignore-errors | |
--output "%(uploader)s (%(uploader_id)s)/%(upload_date)s - %(title)s - (%(duration)ss) [%(resolution)s] [%(id)s].%(ext)s" | |
--download-archive history.txt | |
--prefer-ffmpeg | |
--merge-output-format mkv | |
--write-sub | |
--write-auto-subs | |
--sub-lang "en.*" | |
--sub-lang "ru.*" | |
--convert-subs srt | |
--add-metadata | |
--add-chapters | |
--write-description | |
--write-thumbnail | |
--format "bv[height<=?1080]+ba/b" | |
--batch-file "channels.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment