linuxShortcuts/downloadYTvideos.sh

5 lines
225 B
Bash
Raw Normal View History

2023-12-01 22:00:54 +00:00
#!/bin/bash
URL=$1
yt-dlp -o "%(title)s/%(title)s [%(id)s].%(ext)s" -o "thumbnail:%(title)s/cover.%(ext)s" --write-thumbnail --convert-thumbnails jpg --write-description --embed-chapters --embed-metadata --write-subs "$URL"