When using pycurl, a 403 is just treated as an error code that we should never get. Certainly we could format a nicer error declaring that we got '403 Forbidden' and print out the url that failed.
Probably we are doing everything correct, except that we are printing "Unable to handle http code". We are actually handling it by reporting it to the user, along with the url.
When using pycurl, a 403 is just treated as an error code that we should never get. Certainly we could format a nicer error declaring that we got '403 Forbidden' and print out the url that failed.
Probably we are doing everything correct, except that we are printing "Unable to handle http code". We are actually handling it by reporting it to the user, along with the url.