From 3897ade17938b3efb965b675d4cf40e4a5775cb8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 4 Nov 2018 11:40:42 +0530 Subject: [PATCH] Workaround for broken ssl certificate served by kath.net --- recipes/kath_net.recipe | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes/kath_net.recipe b/recipes/kath_net.recipe index f1c501e449..fc4887c9c5 100644 --- a/recipes/kath_net.recipe +++ b/recipes/kath_net.recipe @@ -11,9 +11,13 @@ class AdvancedUserRecipe1295262156(BasicNewsRecipe): no_stylesheets = True 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): 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;}'