When querying Baen metadata get the following error:
Code:
Running identify query with parameters:
{'title': 'Five by Five', 'authors': ['B. V. Larson', 'Aaron Allston', 'Kevin J Anderson', 'Loren Coleman', 'Michael A Stackpole'], 'identifiers': {'isbn': '9781614750499', 'amazon': 'B0B5WP49BC', 'baen': 'five-by-five', 'kobo': 'five-by-five-4'}, 'timeout': 30}
Using plugins: Baen (1, 1, 0), Amazon.com (1, 3, 13)
The log from individual plugins is below
****************************** Baen (1, 1, 0) ******************************
Found 0 results
Downloading from Baen took 0.1687028408050537
_parse_search_results: matches= ['https://www.baen.com/five-by-five.html']
Baen url: 'https://www.baen.com/five-by-five.html'
Baen relevance: 1
Failed to make details query: 'https://www.baen.com/five-by-five.html'
Traceback (most recent call last):
File "mechanize/_urllib2_fork.py", line 1236, in do_open
File "http/client.py", line 1303, in request
File "http/client.py", line 1349, in _send_request
File "http/client.py", line 1298, in endheaders
File "http/client.py", line 1058, in _send_output
File "http/client.py", line 996, in send
File "http/client.py", line 1475, in connect
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1104, in _create
File "ssl.py", line 1382, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1016)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.baen.worker", line 42, in get_details
raw = self.browser.open_novisit(self.url, timeout=self.timeout).read().strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "mechanize/_mechanize.py", line 241, in open_novisit
File "mechanize/_mechanize.py", line 287, in _mech_open
File "mechanize/_opener.py", line 193, in open
File "mechanize/_urllib2_fork.py", line 425, in _open
File "mechanize/_urllib2_fork.py", line 414, in _call_chain
File "calibre/utils/browser.py", line 29, in https_open
File "mechanize/_urllib2_fork.py", line 1240, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1016)>
bernie