commit ee3174fc570293dc21a2bd7724010fbd4aa4167d parent b9c36396a592cae3317b67dd2b18fc2b1b471f3e Author: Maximilian Dietrich <dxm@lavabit.com> Date: Fri, 28 Jun 2013 22:09:43 +0200 not_flash: format variable when getting filename Diffstat:
M | surf.suckless.org/files/not_flash.md | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/surf.suckless.org/files/not_flash.md b/surf.suckless.org/files/not_flash.md @@ -13,7 +13,7 @@ Save this script as ~/bin/yt and adjust it to your needs. (Requires [youtube-dl] tmpdir="$HOME/tmp" url="$1" - filepath="$tmpdir/$(youtube-dl --id --get-filename -f34 $url)" + filepath="$tmpdir/$(youtube-dl --id --get-filename $format $url)" youtube-dl -c -o $filepath $format $url & echo $! > $filepath.$$.pid