From dc9d99ba31f799a38abe8bf164425b8b01229cf7 Mon Sep 17 00:00:00 2001 From: unkn0w7n <51942695+unkn0w7n@users.noreply.github.com> Date: Sun, 7 May 2023 13:11:43 +0530 Subject: [PATCH] Fix SSL verification error for covers Fix SSL verification error for covers being fetched from kiosko.net --- recipes/boston_globe_print_edition.recipe | 2 +- recipes/eenadu_ap.recipe | 2 +- recipes/financial_times.recipe | 2 +- recipes/financial_times_print_edition.recipe | 2 +- recipes/scmp.recipe | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes/boston_globe_print_edition.recipe b/recipes/boston_globe_print_edition.recipe index 86aa99bcf5..a311f2b781 100644 --- a/recipes/boston_globe_print_edition.recipe +++ b/recipes/boston_globe_print_edition.recipe @@ -59,7 +59,7 @@ class BostonGlobePrint(BasicNewsRecipe): date.today().year ) + '/' + date.today().strftime('%m') + '/' + date.today( ).strftime('%d') + '/us/boston_globe.750.jpg' - br = BasicNewsRecipe.get_browser(self) + br = BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False) try: br.open(cover) except: diff --git a/recipes/eenadu_ap.recipe b/recipes/eenadu_ap.recipe index c204b4e71c..657ccb4ed0 100644 --- a/recipes/eenadu_ap.recipe +++ b/recipes/eenadu_ap.recipe @@ -47,7 +47,7 @@ class eenadu_ap(BasicNewsRecipe): date.today().year ) + '/' + date.today().strftime('%m') + '/' + date.today( ).strftime('%d') + '/in/eenadu.750.jpg' - br = BasicNewsRecipe.get_browser(self) + br = BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False) try: br.open(cover) except: diff --git a/recipes/financial_times.recipe b/recipes/financial_times.recipe index 66e71b8f77..7a2bbe0dc4 100644 --- a/recipes/financial_times.recipe +++ b/recipes/financial_times.recipe @@ -46,7 +46,7 @@ class ft(BasicNewsRecipe): date.today().year ) + '/' + date.today().strftime('%m') + '/' + date.today( ).strftime('%d') + '/uk/ft_uk.750.jpg' - br = BasicNewsRecipe.get_browser(self) + br = BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False) try: br.open(cover) except: diff --git a/recipes/financial_times_print_edition.recipe b/recipes/financial_times_print_edition.recipe index 8a2e4440fb..223edd4166 100644 --- a/recipes/financial_times_print_edition.recipe +++ b/recipes/financial_times_print_edition.recipe @@ -44,7 +44,7 @@ class ft(BasicNewsRecipe): date.today().year ) + '/' + date.today().strftime('%m') + '/' + date.today( ).strftime('%d') + '/uk/ft_uk.750.jpg' - br = BasicNewsRecipe.get_browser(self) + br = BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False) try: br.open(cover) except: diff --git a/recipes/scmp.recipe b/recipes/scmp.recipe index e41c669545..62738beea8 100644 --- a/recipes/scmp.recipe +++ b/recipes/scmp.recipe @@ -80,7 +80,7 @@ class SCMP(BasicNewsRecipe): date.today().year ) + '/' + date.today().strftime('%m') + '/' + date.today( ).strftime('%d') + '/cn/scmp.750.jpg' - br = BasicNewsRecipe.get_browser(self) + br = BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False) try: br.open(cover) except: