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 ?
-
+1 for calrifying what you need and stating what you know– MaythuxFeb 1, 2014 at 8:51
-
The main issue is not to download the video file (wget can do) but it's to find the url to download the video file.– InglebardSep 17, 2015 at 9:25
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
-
2No need to downvote this. The info in the question is deprecated e.g., Kahn academy site is supported now– jfsOct 20, 2015 at 13:42
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"
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 https://sites.google.com/site/columscode/files/movgrab-1.2.1.tar.gz
tar xvf movgrab-1.2.1.tar.gz
cd movgrab-1.2.1/
./configure
make
sudo make install
-
when I type this command "sudo apt-get install movgrab" I have this error "E: Unable to locate package movgrab " Feb 1, 2014 at 8:52
-
ubuntuupdates.org/package/webupd8/precise/main/base/movgrab take it from here– MaythuxFeb 1, 2014 at 8:56
-
-
Thanks I installed it successfully but when type command like this "movgrab youtube.com/watch?v=S3t-5UtvDN0 " to download it take me video but doesn't work . I try several videos and I have the same results Feb 1, 2014 at 9:24
-
check the link above.. Its better to insert the link between double quotes– MaythuxFeb 1, 2014 at 9:29
You could use this:
wget --force-yes "'echo$http:url'"
and it might work fine this way.