mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Horizons Journal Update
fix SSL certificate verification error.
This commit is contained in:
parent
1396035f9d
commit
14ff72d60c
@ -28,6 +28,9 @@ class horizons(BasicNewsRecipe):
|
|||||||
dict(name='div', attrs={'class':'single-post-footer'})
|
dict(name='div', attrs={'class':'single-post-footer'})
|
||||||
]
|
]
|
||||||
|
|
||||||
|
def get_browser(self):
|
||||||
|
return BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False)
|
||||||
|
|
||||||
def parse_index(self):
|
def parse_index(self):
|
||||||
soup = self.index_to_soup('https://www.cirsd.org/en/horizons')
|
soup = self.index_to_soup('https://www.cirsd.org/en/horizons')
|
||||||
a = soup.findAll('a', href=True, attrs={'class':'horizon-gallery-box'})[0] #use 1 for previous edition
|
a = soup.findAll('a', href=True, attrs={'class':'horizon-gallery-box'})[0] #use 1 for previous edition
|
||||||
|
BIN
recipes/icons/horizons.png
Normal file
BIN
recipes/icons/horizons.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
Loading…
x
Reference in New Issue
Block a user