Downloading videos from Coursera is not as easy as copy and pasting the link in terminal. I also have tried exporting cookies from my browser in cookie.txt file and doing a:
curl --cookie cookie.txt "https://class.coursera.org/comnetworks-2012-001/lecture/download.mp4?lecture_id=37" as suggested in this question but that produces a file named download.mp4?lecture_id=37 with nothing in it.
Can somebody tell me how can I download those video lectures? because downloading them with browser is a risk (I have a slow connection and if by chance if some error occurs my too much time is wasted in re-downloading it).
--user-agent <agent string>switch. A common<agent string>isMozilla/5.0.--user-agentset in my~/.curlrcfile (the user agent of the browser I am using).