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?
For downloading 1 file with exact URL, the below code works, but my issue is that url.json
contains 100 videos.
import urllib
urllib.url_retrive("http://example.com/helo.mp4","/var/opt")
Is there a module that will scan the page and get all .mp4 URLs and loop and download each one?