Downloading files with Python 3

This is an easy script for downloading files from certain URLs using Python 3. You just need to define the url and the output file, urllib and shutil will do the hard work for you. Getting a 403 Forbidden error Some pages have spider/both protection, which means that the remote server is reading the User Agent header from our request …