Re: Tool for downloading video/audio files from YouTube

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Smith wrote:
Dear All

Is there some tool for downloading video/audio files from YouTube?

Thanks in advance,

Paul

For a single file you can use this sh script:

#!/bin/bash
bu="http://youtube.com/get_video.php?";;
read -p "URL to YouTube video? " ur;
read -p "Name of file to be saved? " nv
wget ${ur} -O /var/tmp/y1;uf=${bu}`grep player2.swf /var/tmp/y1 | cut -d? -f2 |
cut -d\" -f1`;
wget "${uf}" -O /var/tmp/y.flv
ffmpeg -i /var/tmp/y.flv -r 24 -ab 56 -ar 22050 -b 500 -s 320x240 ${nv}.mpg;
rm /var/tmp/y.flv;
rm /var/tmp/y1;
exit

You need ffmpeg, of course. For multiple files you can loop this or something...

HTH


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux