18 lines
444 B
Bash
Executable File
18 lines
444 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -eou pipefail
|
|
|
|
# --write-description \
|
|
# --write-info-json \
|
|
# --write-annotations \
|
|
# --write-all-thumbnails \
|
|
youtube-dl \
|
|
--format bestvideo+bestaudio \
|
|
--ignore-errors \
|
|
--geo-bypass \
|
|
--write-sub --write-auto-sub --sub-format best --sub-lang en --embed-subs \
|
|
--output "%(title)s.%(ext)s" \
|
|
--add-metadata \
|
|
--embed-thumbnail \
|
|
--download-archive downloaded.txt \
|
|
-a -
|