bash is friggin nutty, i tell ya. its like manna from
the gods.

found on http://bashscripts.org/viewtopic.php?t=210
via digg.com


usage: ./youtube.sh {YouTube URL} {filename} 

#!/bin/bash
wget -c -S -O $2.flv
http://youtube.com/get_video.php\?`curl -s $1 | grep
player2.swf | cut -f2 -d? | cut -f1 -d\"` && ffmpeg -i
$2.flv -ab 56 -ar 22050 -b 500 -s 320x240 $2.mpg &&
exit 0

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to