Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. Vishals-MacBook-Pro:Stuff VishalDubey$ python3 Update.py
  2. Downloading Metadata...
  3. [https://thepiratebay.org] Data/arrow.html...
  4. Traceback (most recent call last):
  5. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open
  6. encode_chunked=req.has_header('Transfer-encoding'))
  7. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
  8. self._send_request(method, url, body, headers, encode_chunked)
  9. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
  10. self.endheaders(body, encode_chunked=encode_chunked)
  11. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
  12. self._send_output(message_body, encode_chunked=encode_chunked)
  13. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
  14. self.send(msg)
  15. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
  16. self.connect()
  17. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1400, in connect
  18. server_hostname=server_hostname)
  19. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 407, in wrap_socket
  20. _context=self, _session=session)
  21. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 814, in __init__
  22. self.do_handshake()
  23. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1068, in do_handshake
  24. self._sslobj.do_handshake()
  25. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 689, in do_handshake
  26. self._sslobj.do_handshake()
  27. ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)
  28.  
  29. During handling of the above exception, another exception occurred:
  30.  
  31. Traceback (most recent call last):
  32. File "Update.py", line 233, in <module>
  33. main()
  34. File "Update.py", line 226, in main
  35. downloadHTML()
  36. File "Update.py", line 62, in downloadHTML
  37. status = download( "{}/search/{}/{}".format(providers[p],search,sort) ,"Data/"+name+".html",True)
  38. File "Update.py", line 38, in download
  39. response = urllib.request.urlopen(req)
  40. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen
  41. return opener.open(url, data, timeout)
  42. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 526, in open
  43. response = self._open(req, data)
  44. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 544, in _open
  45. '_open', req)
  46. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
  47. result = func(*args)
  48. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1361, in https_open
  49. context=self._context, check_hostname=self._check_hostname)
  50. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1320, in do_open
  51. raise URLError(err)
  52. urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement