aregjan (aregjan) wrote,

Copying videos from youtube

How to download videos from youtube, in linux, using firefox only...

1. >cd ~/.mozilla/firefox/*default*/Cache
2. go to youtube, and watch the video you want to download
3. >file */*/* | grep -i "media" | perl -ne '@f=split(/\:/,$_); system("ls -l ".$f[0]);' | sort -k7 | sort -n -k5 | tail -5
4.  Look at the last few lines, the very last line is probably your video.  Copy it to another directory, and give it a humane name.
Tags: computation
  • Post a new comment


    default userpic
  • 1 comment