commit cbccf3d

hovercats  ·  2026-06-08 02:30:02 +0000 UTC
parent 4f86954
ytdl: remove proxy option, as this isnt really used anymore
1 files changed,  +1, -5
+1, -5
 1@@ -3,14 +3,10 @@
 2 flag e +
 3 
 4 DLDIR=$HOME/usr/vid
 5-proxy='&local=true'
 6 
 7 if (~ $#* 0){
 8 	printf 'No url found\n'
 9 	exit 1
10 }
11 
12-if (~ $1 -n) proxy='' && url=$2
13-if not url=$1
14-
15-exec yt-dlp -P $DLDIR -f 'bv[ext=webm][height<=1080]+ba' $url$proxy
16+exec yt-dlp -P $DLDIR -f 'bv[ext=webm][height<=1080]+ba' $url