mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Workaround for broken ssl certificate served by kath.net
This commit is contained in:
parent
cc73789554
commit
3897ade179
@ -11,9 +11,13 @@ class AdvancedUserRecipe1295262156(BasicNewsRecipe):
|
|||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
encoding = 'iso-8859-1'
|
encoding = 'iso-8859-1'
|
||||||
|
|
||||||
feeds = [(u'kath.net', u'http://www.kath.net/2005/xml/index.xml')]
|
feeds = [(u'kath.net', u'https://www.kath.net/2005/xml/index.xml')]
|
||||||
|
|
||||||
def print_version(self, url):
|
def print_version(self, url):
|
||||||
return url + "/print/yes"
|
return url + "/print/yes"
|
||||||
|
|
||||||
|
def get_browser(self, *a, **kwargs):
|
||||||
|
kwargs['verify_ssl_certificates'] = False
|
||||||
|
return BasicNewsRecipe.get_browser(self, *a, **kwargs)
|
||||||
|
|
||||||
extra_css = 'td.textb {font-size: medium;}'
|
extra_css = 'td.textb {font-size: medium;}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user