mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
No extra junk at each of sat paper articles
This removes a lot of extra stuff showing up at end of each articles in the current saturday paper recipe.
This commit is contained in:
parent
621bf9196d
commit
d7eacdfeec
@ -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/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user