Last active
June 16, 2022 20:11
-
-
Save ciphertxt/25530997bafee633568f4c635341be7e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
i=1; | |
for youtube_uri in "$@" | |
do | |
echo "Downloading video $i: $youtube_uri"; | |
i=$((i + 1)); | |
yt-dlp -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio/best[ext=mp4]/best' --merge-output-format mp4 "$youtube_uri" --add-metadata --embed-thumbnail | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment