|
楼主 |
发表于 2022-4-1 20:24:53
|
显示全部楼层
Traceback (most recent call last):
File "C:\Users\94060\Desktop\proxy.py", line 11, in <module>
response = urllib.request.urlopen(url)
File "E:\Python\lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "E:\Python\lib\urllib\request.py", line 525, in open
response = meth(req, response)
File "E:\Python\lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
File "E:\Python\lib\urllib\request.py", line 557, in error
result = self._call_chain(*args)
File "E:\Python\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "E:\Python\lib\urllib\request.py", line 749, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "E:\Python\lib\urllib\request.py", line 525, in open
response = meth(req, response)
File "E:\Python\lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
File "E:\Python\lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
File "E:\Python\lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
File "E:\Python\lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 407: Proxy Authentication Required
|
|