Merge branch 'fix-sat-paper-article-end' of https://github.com/lexual/calibre

This commit is contained in:
Kovid Goyal 2024-11-23 17:01:27 +05:30
commit 728129e6fd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -31,6 +31,10 @@ class SaturdayPaper(BasicNewsRecipe):
classes('social-icons-article-top-container social-icons-article-bottom-container'
' article-page__sidebar article-page__social__icons share-wrapper article-footer-container')
]
remove_tags_after = [
{"name": "div", "class": "end-matter"},
]
def get_cover_url(self):
soup = self.index_to_soup('https://www.thesaturdaypaper.com.au/editions/')