[wiki] [sites] not_flash: format variable when getting filename || Maximilian Dietrich

From: <git_AT_suckless.org>
Date: Fri, 28 Jun 2013 22:10:15 +0200

commit ee3174fc570293dc21a2bd7724010fbd4aa4167d
Author: Maximilian Dietrich <dxm_AT_lavabit.com>
Date: Fri Jun 28 22:09:43 2013 +0200

    not_flash: format variable when getting filename

diff --git a/surf.suckless.org/files/not_flash.md b/surf.suckless.org/files/not_flash.md
index 932d839..78998d6 100644
--- a/surf.suckless.org/files/not_flash.md
+++ b/surf.suckless.org/files/not_flash.md
_AT_@ -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
Received on Fri Jun 28 2013 - 22:10:15 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 28 2013 - 22:12:21 CEST