commit 8ec7943145bb10e08d0088ca776794629966206c
parent de3c83b23033445a8a5c068817779bd9b3326d50
Author: cipher <haris@2f30.org>
Date: Fri, 4 Apr 2014 14:30:50 +0300
F{ix.uck} youtube. Again.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/surf/yt b/surf/yt
@@ -11,7 +11,7 @@ yttest="youtube"
if test "${url#*$yttest}" != "$url"
then
format="-f 18/22" # leave empty for default
- curl `youtube-dl --prefer-ffmpeg $format -g $url` | mplayer -cache $playercache -
+ wget -O - $(youtube-dl $format -g "$url") | mplayer -cache $playercache -
else
$player -cache $playercache `youtube-dl $format -g $url`
fi