summaryrefslogtreecommitdiffstats
path: root/.local/bin/getthumbnail
blob: a619ecc7dc3627d16598aa07b310439930ca1d76 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh
#Description: Takes in a URL and downloads the thumbnail for it (if it exists)

#Axioms: 

#Dependencies: https://packages.debian.org/sid/yt-dlp

yt-dlp --write-thumbnail --skip-download "$1"