Alfred workflow to generate the YouTube short link from a url in your clipboard
Get the link to a Youtube video Thumbnail form a video link in your clipboard and copy it to your clipboard.
npm install --global alfred-youtube-thumbnail-link
Requires Node.js 14+ and the Alfred Powerpack.
- Open Alfred
- Either enter
ytt
for clipboard shortening - Or provide the url via
ytt https://youtube.com/watch?v=askdf214s
- Hit Enter to copy the copy the YouTube thumbnail link to your clipboard
- More Alfred Workflows - My Alfred Workflow Directory
- alfy - Create Alfred workflows with ease
Use the YouTube API or similar to check if the thumbnail actually exists and provide the one which has the highest resolution (or multiple resolutions to choose from).
This would need some extra implementation to download and copy the image file. Maybe by storing it in a tmp folder? Not sure yet.