1

urllib2.HTTPError: HTTP Error 403: Forbidden I've seen this, but it doesn't directly answer me. I want to download and save to certain directory so I am using

urllib.request.urlretrieve('url','path')

However that certain download is forbid me so I need to use urllib2 which doesn't seem to be able to save to certain directory see here: Download an internet resource in Python and save it on my desired location

Is there any way I can download file to a specific directory and spoof a browser all at once?

Community
  • 1
  • 1
Luke
  • 439
  • 1
  • 12
  • 26

0 Answers0