YouTube-Viewer
YouTube-Viewer copied to clipboard
ISSUE
Is there an existing issue for this?
- [X] I have searched the existing issues
I'm submitting a ...
- [ ] bug report
- [ ] feature request
- [ ] support request --> Contact me over mail for support https://github.com/MShawon
Description
error :
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1037, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 975, in send self.connect() File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1454, in connect self.sock = self._context.wrap_socket(self.sock, File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket return self.sslsocket_class._create( File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1075, in _create self.do_handshake() File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1346, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/harpergalbreath/YouTube-Viewer/youtube_viewer.py", line 1003, in
Environment
- OS : mac
- Python : 3.11
- Script version : 113.0.5672.126
config.json
{
"http_api": {
"enabled": false,
"host": "0.0.0.0",
"port": 5000
},
"database": true,
"views": 300,
"minimum": 85.0,
"maximum": 95.0,
"proxy": {
"category": "f",
"proxy_type": false,
"filename": "socks5_proxies.txt",
"authentication": false,
"proxy_api": false,
"refresh": 0.0
},
"background": false,
"bandwidth": false,
"playback_speed": 1,
"max_threads": 5,
"min_threads": 2
}
EDIT: I found a solution. RUN /Applications/Python\ 3.11/Install\ Certificates.command "I have exact the same issue with Python 3.11 and Mac OS Ventura. I used 1.6.1 version with Mac OS Big Sur, but after upgrade I came with this issue. I hope to find some help. Thanks"