What is Nostr?
JohnBennson / John Bennson
npub1fmh…d8hp
2024-04-07 16:42:26

JohnBennson on Nostr: This bash script will quickly download YouTube videos to your Desktop. First, copy ...

This bash script will quickly download YouTube videos to your Desktop. First, copy the YouTube URL to your clipboard, then...

#!/bin/sh
clipurl=`xclip -o`
yt-dlp -o "/home/john/Desktop/%(title)s.%(ext)s" $clipurl

This bash script will quickly convert YouTube videos to .mp3 audio files so you can throw them on your phone.

#!/bin/sh
clipurl=`xclip -o`
yt-dlp -x --audio-format "mp3" -o "/home/john/Desktop/%(title)s.%(ext)s" $clipurl
Author Public Key
npub1fmh47ehynz93z88uapzafrgz845z6k9arhzpxpx6r8qpr437t0ksvwd8hp