Aug-31-2018, 11:13 AM
Not all firewalls are written by windows.
And Even when I use MS windows, I have never had a problem downloading unless the download site was trying to prevent it.
I tested your url, and had no problem.
to use this, requests must be installed:
And Even when I use MS windows, I have never had a problem downloading unless the download site was trying to prevent it.
I tested your url, and had no problem.
to use this, requests must be installed:
pip install requestsi used:
import requests def get_file(url, savefile=None, mode='w'): response = requests.get(url) if response.status_code == 200: if savefile: with open(savefile, mode) as fp: fp.write(response.content) if __name__ == '__main__': url = 'https://drive.google.com/uc?export=download&id=19LJ6Otr9p_stY5MLeEfRnA-jD8xXvK3m' get_file(url, 'pink.exe', 'wb')