dotfiles/home/default/scripts/youtube-archive-audio

21 lines
465 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -eou pipefail
# --write-description \
# --write-info-json \
# --write-annotations \
# --write-all-thumbnails \
# --embed-thumbnail \
# --write-auto-sub \
# --audio-format opus \
youtube-dl \
--ignore-errors \
--geo-bypass \
--sub-lang en --embed-subs \
--extract-audio \
--no-post-overwrites \
--output "%(title)s.%(ext)s" \
--add-metadata \
--download-archive downloaded.txt \
-a -