How to download videos from any site using terminal based command?

I want to download any videos form any site using terminal command , I know "youtube-dl" but it doesn't download videos from some sites like khan academy so, what is the best for that ?

2

4 Answers

You can also use youtube-dl for that. Just copy the url of the video. In case you don't know about the link. Just right click & see View Frame Info you'll see the video url there. Then

youtube-dl videourl
1

You can use wget for that.

type the following command on terminal:

 aptĀ­-get install wget

Download a single file using wget.

 wget "your video url link"
2

You can use movgrab.

To install Movgrab:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install movgrab

Check this for more information

Or you can download the source, extract it and compile it:

 wget tar xvf movgrab-1.2.1.tar.gz cd movgrab-1.2.1/ ./configure make sudo make install
5

You could use this:

wget --force-yes "'echo$http:url'" 

and it might work fine this way.

You Might Also Like