Skip to content

Commit

Permalink
Avoid getting SSL CERTIFICATE_VERIFY_FAILED
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Villarreal Larrauri committed Mar 29, 2021
1 parent 9b0d717 commit 29578fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyzotero/zotero.py
Expand Up @@ -428,8 +428,9 @@ def _retrieve_data(self, request=None, params=None):
self.self_link = request
# ensure that we wait if there's an active backoff
self._check_backoff()
# include "verify = False" to avoid getting SSL CERTIFICATE_VERIFY_FAILED
self.request = requests.get(
url=full_url, headers=self.default_headers(), params=params
url=full_url, headers=self.default_headers(), params=params, verify = False
)
self.request.encoding = "utf-8"
try:
Expand Down

0 comments on commit 29578fd

Please sign in to comment.