Downloading youtube videos is very easy without any software. Here is the procedure below
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 procedure works with almost every browser. I have tried it in firefox and worked
Also, here is the shell script for the above steps
#!/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”
You have to run the above script after loading of entire video. After running the above script you will find the video in your home directory
Related posts:
- How to enable Auto Login in Ubuntu Linux
- Download and play YouTube video on the Mac computer
- Compiling mplayer with multi-core decoding support in ubuntu linux
- Compare local and remote directories in ubuntu
- DVD Playback in Linux
- Install Google gears for firefox 3.5 in Jaunty Linux
- Integrate YouTube with your phpBB Forum
- Linux Keylogger in Ubuntu
- How to use Windows Key in Ubuntu Linux
- How to block websites in Ubuntu Linux

