Fix SSL verification error for covers

Fix SSL verification error for covers being fetched from kiosko.net
This commit is contained in:
unkn0w7n 2023-05-07 13:11:43 +05:30
parent 07c1abe04f
commit dc9d99ba31
5 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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: