[brlug-general] short bash script to download youtube videos
willhill
williamhill2 at cox.net
Fri Aug 18 19:21:17 CDT 2006
It's different now, but the new script seems to work too.
ffmpeg can be found in this repository:
### Marillat repository, special multimedia
deb ftp://ftp.nerim.net/debian/ etch main
note that the name of the repository has changed from "debian-marillat"
to "debian"
On Friday 18 August 2006 15:58, John Hebert wrote:
> 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
>
> _______________________________________________
> General mailing list
> General at brlug.net
> http://brlug.net/mailman/listinfo/general_brlug.net
More information about the General
mailing list