View Full Version : HowTo: Download YouTube videos (the easy way)
FRuMMaGe
September 10th, 2007, 03:12 PM
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
sad_iq
September 13th, 2007, 02:10 PM
Here is a simple way also: Find the video you want to download...let's say this one here:http://youtube.com/watch?v=2BCoZiSbGtY
You don't need to watch it or anything...then in the address bar on top of ANY browser put kiss in front of the youtube...so the address will be http://kissyoutube.com/watch?v=2BCoZiSbGtY
That will take you to a page that will give you the preview of the video(like youtube) and a lot of links ...and one of them is Download Now (guess what it does :) )
Belinrahs
September 13th, 2007, 02:39 PM
There are also a few services I've seen floating around, web-based, that grab the YouTube FLA file, and convert it to MPEG-4.
Google it..:popcorn:
bashologist
September 13th, 2007, 03:17 PM
Cool, that's really neat, didn't know that.
Check out this nice bash script.
#!/bin/bash
flash=$(ls -t /tmp/Flash* | head -n 1)
destination=$(find ~/.mozilla -name sessionstore.js -exec sed 's/.*title:"\([^"]*\).*selected.*/\1/' {} \;)
echo "waiting for download to finish ..."
size=$(du $flash)
while sleep 5s; do
if [ "$size" != "$(du $flash)" ]; then
size=$(du $flash)
continue
else
break
fi
done
cp "$flash" "$HOME/${destination////%2f}.swf"
Load a YouTube web page, wait a few seconds, run it, then look in your home directory. n_n
capink
September 13th, 2007, 03:33 PM
Another approach is to install firefox extension unplug (https://addons.mozilla.org/en-US/firefox/addon/2254). This extension will give you download link to the youtube videos.
FRuMMaGe
September 13th, 2007, 05:15 PM
There are also a few services I've seen floating around, web-based, that grab the YouTube FLA file, and convert it to MPEG-4.
Google it..:popcorn:
These usuall take ages though.
I'm assuming people can convert the videos themselves if they see it necessary.
Personally, I use WinFF to convert all my videos. You can also use to it convert to iPod format :P
qpieus
September 14th, 2007, 03:39 PM
Cool, that's really neat, didn't know that.
Check out this nice bash script.
#!/bin/bash
flash=$(ls -t /tmp/Flash* | head -n 1)
destination=$(find ~/.mozilla -name sessionstore.js -exec sed 's/.*title:"\([^"]*\).*selected.*/\1/' {} \;)
echo "waiting for download to finish ..."
size=$(du $flash)
while sleep 5s; do
if [ "$size" != "$(du $flash)" ]; then
size=$(du $flash)
continue
else
break
fi
done
cp "$flash" "$HOME/${destination////%2f}.swf"
Load a YouTube web page, wait a few seconds, run it, then look in your home directory. n_n
That's brilliant, thanks. I've been wanting to save a few youtube videos and this worked perfectly.
Kopfgeldjaeger
September 14th, 2007, 06:10 PM
Have a look at http://code.google.com/p/vdown/ , too, it has a little GTK-GUI and downloads from many video portals (all supported by videograb.de), it saves the files with the original name of the video. You can also download video lists with it.
greetings
metroplex
September 15th, 2007, 06:55 AM
I'd suggest installing the package "youtube-dl" available from the unverse repo. From a terminal:
sudo apt-get install youtube-dl
Using the download-script is easy. Start a terminal, and type:
youtube-dl <link to youtube video>
Steve1961
September 15th, 2007, 07:24 AM
There's also a firefox extension called download helper:
https://addons.mozilla.org/en-US/firefox/addon/3006
wersdaluv
September 15th, 2007, 10:03 AM
That is AMAZING!
It even works for pages that youtube video downloaders can't download from like http://youtube.com/watch?v=FhAdjEvyWEk
genbuntu
October 17th, 2007, 06:57 AM
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
Wow man; this is really simple and simply great :)
does not require any software (as long as one is watching it on computer , no conversion needed)
fululian
November 18th, 2007, 02:26 PM
thanks a bunch. i really don't d'like to know how many things like these i still am not aware of. *shudder
Kadrus
November 18th, 2007, 02:30 PM
haha..pretty sweet stuff indeed :)..
There is also keepvid.com or something like this
You copy the link of the video into keepvid.com(there is an input to copy the link to)and you press download..and that's it:)
fululian
November 18th, 2007, 03:30 PM
i let the vid complete downloading, switch to /temp, and get the flash-video copied onto the desktop. however, when i go back to firefox, the browser crashes if i cut-and-pasted the file. it seems you may only copy, not cut.
FRuMMaGe
November 18th, 2007, 09:57 PM
i let the vid complete downloading, switch to /temp, and get the flash-video copied onto the desktop. however, when i go back to firefox, the browser crashes if i cut-and-pasted the file. it seems you may only copy, not cut.
I just drag it. Maybe firefox is looking for the file that no longer exists.
Co.Sinecure
November 19th, 2007, 04:36 AM
FYI, youtube-dl has been updated (since youtube itself was updated and broke the old version!)
Feisty repos have the old version. Don't know about gutsy.
Link is here here (http://ubuntuforums.org/showthread.php?t=540871) (provided by forum-user hyperair)
genbuntu
November 20th, 2007, 09:58 PM
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
I wonder which temp directory to look for in 'Internet explorer' :confused:. Couldn't find it in 'temporary files'.
helpee
November 26th, 2007, 11:24 PM
Oh, dear god. Thank you. THANK YOU.
Kopfgeldjaeger
November 27th, 2007, 11:30 AM
I have written a little PyGTK video downloader (also commandline) for that; http://code.google.com/p/vdown/
*promote*
I hope that's OK here :-)
Looks like that (also German):
http://www.r4g.de/downloads/gvdown.png
murt
November 28th, 2007, 05:39 AM
Tried your program, and it downloaded the flash video-file well, but when i used it (your command for ffmpeg) the output was an empty .avi-file.
linuxlizard
November 28th, 2007, 11:48 AM
The EASIEST way-
just get the media pirate extension for firefox. Go to firefox-tools-extensions-add extension and get it.
Keith Hedger
November 28th, 2007, 12:41 PM
I wrote the attached script to do it usage is ./dlv.sh LINK ie: ./dlv.sh http://uk.youtube.com/watch?v=DsxJwqezf_w will download hawkwind s chronical of the black sword to the current directory. I find its easier to keep a script updated than a full program for something this simple.
smacattack
November 28th, 2007, 02:03 PM
personally i would suggest just doing:
sudo apt-get install youtube-dl
and then type: youtube-dl <linkofvideo> in the terminal! easy enough.
Keith Hedger
November 28th, 2007, 04:38 PM
Tried youtube-dl it dont work nor does the version i tried downloading from their site hence the script
maudy
November 29th, 2007, 09:54 AM
Hi!
I used QtTube
http://ubuntudicas.blogspot.com/2007/11/baixe-vdeos-do-youtube-com-o-qttube.html
(In portuguese) or:
http://www.getdeb.net/app.php?name=QTTube
Voilà!
Cya!!
computerfreak
January 20th, 2008, 10:21 AM
I'd suggest installing the package "youtube-dl" available from the unverse repo. From a terminal:
sudo apt-get install youtube-dl
Using the download-script is easy. Start a terminal, and type:
youtube-dl <link to youtube video>
Ok so I ran the termanal and downloaded the youtube.dl and i ran the thing to get the video, now where do i find it?:confused:
Anduu
January 21st, 2008, 12:29 AM
There's also a firefox extension called download helper:
https://addons.mozilla.org/en-US/firefox/addon/3006
This is the one I'm using forever...I haven't found a site yet it can't download from.
xinilux
January 25th, 2008, 07:25 AM
Post removed by xinilux.
aonegodman
January 25th, 2008, 05:52 PM
I'd suggest installing the package "youtube-dl" available from the unverse repo. From a terminal:
sudo apt-get install youtube-dl
Using the download-script is easy. Start a terminal, and type:
youtube-dl <link to youtube video>
As you may already know youtube-dl is no longer working. :(
Looking for fix or replacement now.
razorfish
February 1st, 2008, 07:14 PM
www.TubeLeecher.com. There is no easier way
becausetimtoldme
April 8th, 2008, 09:57 PM
Are the .flv files "jumpy" for anyone else? After I download the youtube video mplayer will not play it and when I play it in Kaffeine the video is jumpy and will not play smoothly. The audio is perfect.
If anyone can suggest an alternative way that avoids this for a beginner I would appreciate this!
cheers
kiisu
April 22nd, 2008, 12:34 AM
Can anyone suggest a simple method for extracting just the audio from a downloaded youtube video?
I found a couple of programs suggested online, but they are windows only.
aonegodman
April 23rd, 2008, 02:37 PM
Can anyone suggest a simple method for extracting just the audio from a downloaded youtube video?
I found a couple of programs suggested online, but they are windows only.
):P ffmpeg
Check out the following link and you're good to go:
http://justanothertechblog.blogspot.com/2007/02/easily-extract-audio-from-any-youtube.html
:KS
kiisu
April 24th, 2008, 07:16 PM
I'm not sure I understand...
when I use this code in the terminal:
ffmpeg -i input.flv -f mp3 -vn -acodec copy output.mp3
how do I specify which/where the file is that I am using to get the audio?
I also tried the second method mentioned there (using mplayer) but got an error message about unknown syntax
alas!!
thewOndErEr57
May 16th, 2008, 04:02 PM
To let all you folks know, I have written a little software tool which uses youtube-dl with a GUI for those who don't like the command line.
It includes the opportunity to select which format you wish to download as and also stores the directory preference for your videos.
Find it at
http://yourtubedownloader.awardspace.com/
Feedback most appreciated!
Thanks
ChameleonDave
May 26th, 2008, 12:26 AM
I've just tried "sudo apt-get install clive".
Then you just have to type "clive" before a YouTube URL, and there you go!
Unfortunately, it can't download videos that have been marked as not suitable for minors by annoying morons.
puttux
May 26th, 2008, 08:11 AM
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
this works great...theoretically this must work for all sites streaming video, not just youtube...thanks a lot...
i used to go to the profile cache directory of firefox and cp the file that was last downloaded (ls -t)...
youtubemaniac
June 29th, 2008, 12:47 PM
I use the new NetVideoHunter add-on to download videos and music not only from Youtube, but from any site:
Download NetVideoHunter here (http://netvideohunter.com)
robertchahine
June 29th, 2008, 12:57 PM
you can add downloadhelper extension to your firefox, so when you watch a video you will use this extension to download the video.
And there's another way, or paste the link of the youtube video in this webpage
www.tubeleecher.com
mickinator
June 30th, 2008, 11:18 AM
That clive is a good program!!
dipayan
July 24th, 2008, 03:43 PM
Hello everyone,
Found another easy way... use "www.savetube.com" or any other such website which provides you a download url for Youtube videos...
1. Open the video you want to download in Youtube.
2. Open www.savetube.com in another browser window or tab.
3. Copy the url in the address bar.
4. Paste it in the space provided in savetube(type "&fmt=6" at the end of the url in the space for high quality .flv) and press go.
5. The savetube page will re-open showing a "Download" button. Press it and save the video where ever u want to.
6. As far as converting the file is concerned, just type ".mpg" at the end of the filename before or after downloading it. Example - "get_video.mpg".
The .flv files don't seem to play with any of the players(Vlc, Totem...), but, the .mpg files play brilliantly well.
P.S- This method works great in Ubuntu 8.04LTS(Hardy Heron) and Opera 9.25.
Try it out and let me know...
ashleycurtis
July 24th, 2008, 10:16 PM
Thanks for all the tips. Now I know how to download youtube videos in easy way. :)
thewOndErEr57
July 25th, 2008, 08:02 AM
I've actually written a GUI tool based on youtube-dl for those people who prefer GUI interfaces. It also allows you to download in a variety of formats, including the one required for IPOD video players.
Find it here:
http://yourtubedownloader.awardspace.com/
Let me know what you think by email if you wish !
MongooseCage
August 5th, 2008, 06:05 PM
I prefer the first way... I was checking if anyone else found it... feel sorry for windows users... they rely on websites to do what we do by just opening the /tmp and taking out the video.
extremizt
March 12th, 2009, 03:08 AM
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
The method you have mentioned here was working fine for me, for years. But now, when i try playing the copied files, i am getting the error "cannot recoganise undf file format". Any ideas? What is this undf file format afterall?:-(
Thanks in advance
breese
March 24th, 2009, 11:59 AM
Works perfectly: very easy method. Thanks!
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
blackrosezy
March 26th, 2009, 02:49 PM
I also found easy way.I'm using Morz Video Downloader.Good and easy to use. you can download at morzsoftware.com/morz-video-downloader (http://morzsoftware.com/morz-video-downloader)
darksideforge
March 29th, 2009, 08:24 PM
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
This worked PERFECTLY for me! Thanks!!
Clueless163
March 31st, 2009, 08:44 PM
I noticed that my audio/video is off when I am playing a copied video from youtube using the temp files method...any idea's?
timjumpshigh
April 16th, 2009, 04:03 PM
is it legal to download them like the first writer?
aL3xandar
May 5th, 2009, 04:37 AM
Well, I've managed to write a lil' script that uses youtube-dl to catch videos from youtube. Hope you'll enjoy it!
SPARTAN-118
June 29th, 2009, 11:43 PM
Here is a simple way also: Find the video you want to download...let's say this one here:http://youtube.com/watch?v=2BCoZiSbGtY
You don't need to watch it or anything...then in the address bar on top of ANY browser put kiss in front of the youtube...so the address will be http://kissyoutube.com/watch?v=2BCoZiSbGtY (http://%3Cb%3Ekiss%3C/b%3Eyoutube.com/watch?v=2BCoZiSbGtY)
That will take you to a page that will give you the preview of the video(like youtube) and a lot of links ...and one of them is Download Now (guess what it does :) )
Yeah, but some videos are too large to download this way (for example, Weird Al Yankovic's "Trapped in the Drive-Thru" is about 11 minutes long and you get THIS error:
The requested URL /get_video... is too large to process.
This has happened to me on a number of occasions, from Halo 3 Montages to Sonic X episode parts (the good Japanese subbed ones, not the crappy North American english ones).
Also, the same error message kinda ruins the magic, since it shows that Kissyoutube uses Google Video to download the file.
SPARTAN-118
June 30th, 2009, 11:15 AM
Sorry for the double post, but here's a good [online] service that allows you to download Youtube videos:
http://www.youtubecatcher.com/
Whatever you do, DON'T DOWNLOAD THE TOOLBAR!!!!!
Even if you have WINE, since it totally screwed up my computer (I couldn't get into any Internet-related programs, and had to back up my files to Windows and re-install Ubuntu - again!)
SPARTAN-118
John Private
June 30th, 2009, 08:15 PM
For me the easiest of all ways was http://file2hd.com/ put in the Video Link of your choice and then mark movies and click "Get Files" then right click the one that says (Youtube Video Name).mp4 and right click and click Save Link As Download it and it is fast and downloads as mp4.
SVEN1
July 1st, 2009, 11:05 AM
For me the easiest of all ways was http://file2hd.com/ put in the Video Link of your choice and then mark movies and click "Get Files" then right click the one that says (Youtube Video Name).mp4 and right click and click Save Link As Download it and it is fast and downloads as mp4.
Wow!! Works great with Ubuntu 8.10
Been trying to use many of those downloadable programs off the web when running windows, nothing really worked well.
It's been about 5 months now running Ubuntu, love it, no need for Windows any longer.
Suranjit
July 1st, 2009, 11:53 AM
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
>> Thanks Dude...
ontadimanamana
July 1st, 2009, 11:28 PM
i always use keepvid.com
or opera browser
SPARTAN-118
July 2nd, 2009, 12:09 AM
i always use keepvid.com
or opera browser
KeepVid didn't work AT ALL for me...
In windows, I used altervista's Youtube Downloader (worked really well, but didn't always get the HQ video).
Now, I either use Youtube Grabber, or, if that doesn't work, some other online service.
I wonder why Ubuntu hasn't gone mainstream yet?
Oh yeah, plenty of reasons:
1. It's free.
2. If more people knew about Ubuntu, then they'd probably make viruses for it.
3. It requires at least some knowledge of using the command line interface (I was just starting to learn how to use applications like Terminal; I still am).
bgiannes
July 2nd, 2009, 04:33 PM
I've been using clive for sometime, you can setup login to download any video from youtube.
Q:
just found a program called addy it's a gui for clive
http://code.google.com/p/abby/
can this be install/port it into ubuntu, can someone have a look at it, please.
thanx
SPARTAN-118
July 2nd, 2009, 09:12 PM
Alright, I'll tell everyone the easiest way to download Youtube videos.
Just use FRuMMaGE's technique:
Load a video (doesn't even have to be a Youtube video - it can be from any website that uses flash; in fact, I use it to get around paying for a service that lets you download animes.)
Minimize the browser.
Go to your temporary directory (located - for most people - in your Filesystem(/) it's the folder "tmp"
Locate the flash file (It'll start with "Flash" and be an alphanumeric string after that. BE WARNED: sometimes flash ads end up in this directory, so be sure it's the right file).
Rename it to what you like (this can also be step 6).
Drag it to your desktop or another folder (this can also be step 5).
Note: If you drag the file to a folder in another OS installed on your computer (ex. Windows), you may want to delete the flash file, if you plan on using it only in Windows (for example, if you just want the file to edit in Windows Movie Maker). Remember, Ubuntu can see files on Windows, but not the other way around! ;)
cz8
July 25th, 2009, 06:05 AM
I followed your steps, but there is no flash file in my tmp folder.
ssdt
July 25th, 2009, 07:39 AM
Really nice trick but by default there is Firefox and with the help of some addons, you could do the same.
SPARTAN-118
July 25th, 2009, 09:11 AM
I followed your steps, but there is no flash file in my tmp folder.
Are you using Firefox?
Do you minimize the browser? (closing it deletes tmp.)
Do you wait for the video to fully load? (It helps you let the video play, then just pause it.)
Do you wait for the file to fully finish transferring into your tmp folder? (You'll know it's done when you can see a media preview as the icon.)
Also, when you browse the tmp folder, are there any files without an extension? Whose size keeps increasing?
Those are the files you're looking for.
I'll attach a screenie of what a Flash file looks like.
SPARTAN-118
SPARTAN-118
July 25th, 2009, 09:13 AM
Really nice trick but by default there is Firefox and with the help of some addons, you could do the same.
Yeah, but I prefer to keep my addons to a minimum;
download toolbar and autopager are good enough for me! (most of the time, anyways....)
yvan232002
July 28th, 2009, 04:14 PM
Thank you so much for the tip & best wishes
Tclarkie
July 29th, 2009, 05:44 AM
install the addon "Easy Youtube Downloader" from the firefox addon pages
Anxious Nut
July 29th, 2009, 05:08 PM
There's also a firefox extension called download helper:
https://addons.mozilla.org/en-US/firefox/addon/3006
+1 It can download any video stream
BTW if you watched any video you'll find it as .flv in your tmp folder, you can copy it to keep it. to go to tmp, here's the path: /tmp/
pixy84
August 25th, 2009, 06:12 AM
Here (http://www.idesktop.tv/) is a link to a wonderful website where you can download YouTube videos in a variety of formats for FREE!
http://www.idesktop.tv/
nesh87
August 27th, 2009, 09:49 AM
If you guys are still looking/interested to try something new:
http://ubuntuforums.org/showpost.php?p=7545745&postcount=1
http://ubuntube.tk/
kyle2595
August 29th, 2009, 12:26 PM
There is also a Firefox extension called "Media Converter". It downloads videos and converts them to whatever file type that you would like. http://www.mediaconverter.org/
phar0z
September 14th, 2009, 04:17 PM
I've written a script that downloads music from youtube and converts it automatically to mp3.
#!/bin/bash
#By: phar0z
# checking whether you have youtube-dl
if [ ! -x `which youtube-dl` ];then
echo “Error! youtube-dl isn’t installed.”
exit 0
fi
#checking whether you have vbrfix
if [ ! -x `which vbrfix` ];then
echo “Error! vbrfix isn’t installed.”
exit 0
fi
#download video(s)
for URL in $*; do
youtube-dl -t “$1&fmt=18″
done
#process
for VIDEO in `ls *.flv`; do
OUTPUT=${VIDEO:0:${#VIDEO}-4}”.mp3″
ffmpeg -i $VIDEO -acodec copy $OUTPUT
#move video
mv $OUTPUT /home/$USER/music
vbrfix /home/$USER/music/$OUTPUT /home/$USER/music/$OUTPUT
rm -rf vbrfix.log vbrfix.tmp
#clean-up
rm -rf $VIDEO
done
echo “Done.”
Here you can read my explanation (http://phar0z.wordpress.com/2009/09/03/11/).
rs.smith
September 23rd, 2009, 03:45 PM
Go to http://www.youtubevdl.110mb.com.
it offers live preview of the video you are going to download. offers multiple formats of videos like, .flv,.3gp,.mp4(HD) ,etc. to download.
blaselinux
September 24th, 2009, 07:49 AM
Here is my script. If you need only the sound in mp3 this will help you:
If you would like to use this script you need:
youtube-dl
mencoder
sudo apt-get install youtube-dl mencoder
#!/bin/bash
# Set the download variable to the working directory
download=$HOME/youtube
# Check the working directory; exist or not, if not the script make it
if [ ! -e $download ]
then
mkdir $download
echo "The $download directory is created"
fi
if [ ! -e $download/flv ]
then
mkdir $download/flv
echo "The $download/flv directory is created"
fi
# Go to the working directory
cd $download
if [ $# == 1 ]
then
wget $1
nev=`cat watch* | grep "<title>" | awk -F">" '{print $2}' | awk -F"<" '{print $1}'`
nev=`echo $nev | sed 's/ /_/g'`
rm watch*
elif [ $# -ne 2 ]
then
echo -e "\n You need to use the following parameters \n"
echo -e " youtube.sh [url] [the video name]"
echo -e " You can leave the [video name], this time you get the original youtube video name. \n"
exit
else
nev=$2
fi
echo "Start the download"
# Download the video
youtube-dl $1
echo "The video is downloaded"
# Set the video variable
video=`echo $1 | awk -F= '{print $2 }'`
# Set the zene variable
zene=`echo $nev | awk -F. '{print $1}'`.mp3
echo "Start the convert"
# Convert the flv file to mp3
mencoder $video.flv -of rawaudio -oac copy -ovc copy -o $zene
echo "The mp3 is ready"
video=`echo $zene | awk -F. '{print $1}'`.flv
# Rename the flv file
mv *.flv $video
# Move the flv file to the flv directory
mv $video $download/flv/
echo "The script ran succesfully"
You can download the script from here (http://linuxegyszeruen.homelinux.org/request.php?41), but in the downloaded script, the echoes are in hungarian language, the comments are in english.
After you type in (or download) the script, don't forget about the permission:
chmod +x youtube.sh
Enjoy! ;)
rahulkundu4u
October 8th, 2009, 08:48 AM
It is very easy way to download YouTube video with Downloadhelper add-ons.
When a page with youtube video is opened Downloaderhelper in Navigation
toolbar rotetes and from this video can be downloaded.
kiridude
October 8th, 2009, 09:56 AM
Nice one FRuMMaGe !
simple and effective!
kevinguillorytraining
October 9th, 2009, 04:38 AM
A great working tip. can we download videos from other sites too with this trick?
Onforty
October 9th, 2009, 07:38 AM
You can also embed it in a HTML file :biggrin:
Jugantor
October 24th, 2009, 10:48 PM
simple, easy and best! Thumbs up:guitar:
I'd suggest installing the package "youtube-dl" available from the unverse repo. From a terminal:
sudo apt-get install youtube-dl
Using the download-script is easy. Start a terminal, and type:
youtube-dl <link to youtube video>
smileyguy
October 28th, 2009, 05:45 AM
That's fantastic Frummage. Works a treat!
Too easy:)
sandwicheguy
October 30th, 2009, 08:06 PM
>Here is the easy way.
>Enjoy!
You Rock! So simple, so quick, so obvious... So Elegant!
THANK YOU for a good start on the weekend.
Marrkk
October 31st, 2009, 05:32 AM
Video download helper is tidiest IMO
first, install ffmpeg or ffmpeg
https://addons.mozilla.org/en-US/firefox/addon/3006
- an new browser icon rotates when a flash stream is downloadable,
so click it, select flv or HQ or MP3
finished.
even better though, u can set it in preferences to dload, save and convert in one press.
it will auto convert as wmv mpg mp4 avi or even mp3.
They save in /home/dwhelper .a true must have. really try it. disable the twitter and mp3tunes and stuff. soooo easy.
alienclone
October 31st, 2009, 06:58 AM
dont know if it was mentioned already (too tired to read all 9 pages) but in FF you can go to Tools>Page Info>Media and see all images and videos on the current page and download them.
vratnica
November 2nd, 2009, 05:26 PM
it will auto convert as wmv mpg mp4 avi or even mp3
I never get it converted this way, it doesn't work
Dan Again
November 10th, 2009, 09:52 AM
The original method described by the topic works great for me...awesome! Thanks!
SashaShveik
November 20th, 2009, 10:29 AM
JDownloader (http://jdownloader.org/)
Support download from RapidShare.com, RapidShare.de, Depositfiles.com, Filefactory.com, Uploaded.to, Megaupload.com, Megashares.com, Vip-file.com, upshare.net, Youtube.com, Myvideo.de, Imagefap.com and many other...
MIJ-VI
November 23rd, 2009, 05:35 AM
There's also a firefox extension called download helper:
https://addons.mozilla.org/en-US/firefox/addon/3006
Houston, we have a problem:
Reviews
Nice addon, very useful.
Great work.
No problem with Firefox 3.5.5 and windows 7.
Rated 5 out of 5 stars by Prezio67 (https://addons.mozilla.org/en-US/firefox/user/3591296) on November 22, 2009
Best addon available. This should absolutely be standard for every web browser. Never get frustrated by glitchy streaming video again - just download it all and watch at your leisure! If I wasn't a student living well below the poverty line I would donate some cash to these guys - well done gents and a heartfelt thank you!
Rated 5 out of 5 stars by snaqpak (https://addons.mozilla.org/en-US/firefox/user/5031594) on November 22, 2009
Pro's: Easy to use, fast, stable and free video downloaded.
Con's: Installs Trojan.Goldun, which isn't particularly harmful Trojan and a small price to pay for this great product.
Rated 4 out of 5 stars by Lobomoon (https://addons.mozilla.org/en-US/firefox/user/5031478) on November 22, 2009
--------
Trojan.Goldun
Discovered: January 7, 2005
Updated: February 13, 2007 12:31:36 PM
Also Known As: Trojan-Dropper.Win32.Agent.dz
Type: Trojan Horse
Systems Affected: Windows 2000, Windows 95, Windows 98, Windows Me, Windows NT, Windows Server 2003, Windows XP. EDIT: :P
Trojan.Goldun is a Trojan horse program that steals user's authentication for e-gold.
http://support.brightmail.com/security_response/writeup.jsp?docid=2005-010715-5330-99
MIJ-VI
November 23rd, 2009, 07:27 AM
Many people have been asking how to download youtube videos, and kept being pointed to useless software which will do it for them.
Here is the easy way:
Step 1: Find the video you want to download and wait for it to completely finish loading.
Step 2: Minimize your browser (do NOT close it, some browsers delete the temp directory upon closing), and navigate to the directory /tmp
Step 3: Drag the flash file onto your desktop. Voila!
This definitely works with firefox, and probably most other browsers aswell. Enjoy!
+1
And if I may add, bookmark the tmp folder (in Nautilus, not Firefox) so that it's easy to access.
J V
November 23rd, 2009, 02:06 PM
Thats nice, but is there any way to save videos forced to open in totem? (Stupid divx)
Totem doesn't save them to the /tmp directory, so you're stuck with watching streamed version (And because totem is crap with streaming theres no DL-indicator, seeker, or even pause available...)
Does totem have its own /tmp?
Guitar John
November 23rd, 2009, 02:47 PM
Thank you.
This worked great. And yes, it was the easy way.
Nagulan
November 25th, 2009, 09:00 AM
hi i am nagulan i am kubuntu new user. i need to installed the softwares.
i can't install the youtube down loader. but i download the youtube down loader software. onece i down load the file but i can't install. once i click it's opening open with format
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.