mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Ignore SSL errors on harpers since the harpers certificate chain is incomplete making it impossible to verify
This commit is contained in:
parent
b65f2ccbc0
commit
75c2bd4605
@ -56,7 +56,8 @@ class Harpers_full(BasicNewsRecipe):
|
||||
remove_attributes = ['xmlns']
|
||||
|
||||
def get_browser(self):
|
||||
br = BasicNewsRecipe.get_browser(self)
|
||||
# harpers ssl certificate is broken as of Jul 2017
|
||||
br = BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False)
|
||||
br.open('https://harpers.org/')
|
||||
if self.username is not None and self.password is not None:
|
||||
tt = time.localtime() * 1000
|
||||
|
Loading…
x
Reference in New Issue
Block a user