Closed Suhail-SSRC closed 1 year ago
Doesn't seems related to this project.
Perhaps see this: https://stackoverflow.com/questions/52805115/certificate-verify-failed-unable-to-get-local-issuer-certificate
Thank you for pointing it out, this was the solution (in my case I was on a MacOS Ventura)
pip install certifi
CERT_PATH=$(python -m certifi)
export SSL_CERT_FILE=${CERT_PATH}
export REQUESTS_CA_BUNDLE=${CERT_PATH}
It should then work perfectly
Hello
I've been trying to use the tool, but I keep getting this error `> Echo360 Cloud platform detected
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/Users/suhailalmarzouqi/Documents/echo360/echo360.py", line 7, in
sys.exit(main())
File "/Users/suhailalmarzouqi/Documents/echo360/echo360/main.py", line 314, in main
start_download_binary(binary_downloader, binary_type)
File "/Users/suhailalmarzouqi/Documents/echo360/echo360/main.py", line 376, in start_download_binary
binary_downloader.download()
File "/Users/suhailalmarzouqi/Documents/echo360/echo360/binary_downloader/chromedriver.py", line 35, in download
super(ChromedriverDownloader, self).download()
File "/Users/suhailalmarzouqi/Documents/echo360/echo360/binary_downloader/downloader.py", line 58, in download
wget.download(link, out="{0}/{1}".format(bin_path, filename))
File "/Users/suhailalmarzouqi/Documents/echo360/_echo360venv/lib/python3.10/site-packages/wget.py", line 526, in download
(tmpfile, headers) = ulib.urlretrieve(binurl, tmpfile, callback)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 241, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>`
My university uses SSO, I am using this command
./run.sh https://echo360.org.uk/section/766ea09b-23e2-450d-9320-c05594d7652a/home --chrome --alternative_feeds -o ~/Desktop/Lectures
(This is a private course)