Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to download videos from this link http://nptel.iitm.ac.in/video.php?subjectId=106102064 I don't know how to use wget to download the videos from this site. Please help me. Thanks.

share|improve this question

You have to use the file name as the parameter for 'wget'.

This works for me:

wget http://npteldownloads.iitm.ac.in/downloads_mp4/106102064/lec01.mp4
share|improve this answer

better still:

wget -c -O /pathtoLocalDirectory/choosefilename.extensionLike3gpORflvORmp4 "HerePutTheHyperlinkInsideInvertedCommasWithoutAnyExtraSpacesSay http://somesite.something.somemorethings.etc"

reasons:

  • -c: if connection to server is broken before completion of your download then wget resumes from previously downloaded position, otherwise it wastes away what was already downloaded and has to restart from zero

  • -O: allows you to choose the location and filename of your choice in your computer

share|improve this answer
1  
Hi akhil, welcome to askubuntu! This is a valid answer. Just two things: 1) Keep the example command short. The way it is now is not very readable. 2) Put commands in block format – Nephente Sep 28 '15 at 5:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.