title: Download video from URL in Python
body: <p>I am trying to download a video using the below code in Python.</p>
  
  <pre><code>import urllib
  dwn_link = 'https://class.coursera.org/textanalytics-001/lecture/download.mp4?lecture_id=73'
  
  file_name = 'trial_video.mp4' 
  urllib.retrieve(dwn_link, file_name)
  </code></pre>
  
  <p>But this code downloads only 382 kb and video open with an error.</p>
  
  <p>Any help?</p>
  
  <p>Edit: I could download all .pdf files in this page using their download links, but there seems to be some issue with video files. Video does get downloaded int my local system, but with error </p>