Last active
April 16, 2024 01:01
-
-
Save filmgirl/7e632e3d4848c390d24317a66e102611 to your computer and use it in GitHub Desktop.
Grab thumbnail from a YouTube URL and save to whatever folder you're in
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
## Put in your .zshrc or .bashrc file, make sure yt-dlp and ffmpeg are already installed | |
thumb() { | |
yt-dlp --ignore-errors --write-thumbnail --skip-download $1 | |
} |
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
## YouTube Thumbnail Custom Output and Save (put in your .zshrc or .bashrc file, make sure yt-dlp and ffmpeg are already installed | |
thumb() { | |
yt-dlp --ignore-errors --write-thumbnail --convert-thumbnail png --skip-download -o '~/Downloads/%(title)s.%(ext)s' $1 $2 $3 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment