🔧 Another ivdl script

This commit is contained in:
tomit4 2025-07-26 11:32:47 -07:00
parent 648a1cc0f7
commit da4371193a

7
scripts/ivdl-a Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
video_id=$(echo "$1" | grep -oE 'v=([a-zA-Z0-9_-]{11})' | cut -d= -f2)
youtube_url="https://www.youtube.com/watch?v=$video_id"
yt-dlp --sponsorblock-remove all -x --audio-format mp3 "$youtube_url"