title: Python download multiple mp4 files from URLs
body: <p>I have URLs in JSON format which contain a lot of .mp4 file URLs, is there a way to use Python to scan the URLs and download all .mp4 files using a loop and urlib -request?</p>
  <p>For downloading 1 file with exact URL, the below code works, but my issue is that <code>url.json</code> contains 100 videos.</p>
  <pre><code>import urllib
  urllib.url_retrive(&quot;http://example.com/helo.mp4&quot;,&quot;/var/opt&quot;)
  </code></pre>
  <p>Is there a module that will scan the page and get all .mp4 URLs and loop and download each one?</p>