mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update The Saturday Paper
This commit is contained in:
parent
4a1dfafb2a
commit
6420d449ba
@ -31,6 +31,11 @@ class SaturdayPaper(BasicNewsRecipe):
|
|||||||
' article-page__sidebar article-page__social__icons share-wrapper article-footer-container')
|
' article-page__sidebar article-page__social__icons share-wrapper article-footer-container')
|
||||||
]
|
]
|
||||||
|
|
||||||
|
def get_cover_url(self):
|
||||||
|
soup = self.index_to_soup('https://www.thesaturdaypaper.com.au/editions/')
|
||||||
|
div = soup.find('div', attrs={'class':'article__image'})
|
||||||
|
return div.img['src']
|
||||||
|
|
||||||
def parse_index(self):
|
def parse_index(self):
|
||||||
feeds = [
|
feeds = [
|
||||||
('News', 'https://www.thesaturdaypaper.com.au/news'),
|
('News', 'https://www.thesaturdaypaper.com.au/news'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user