mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Mediapart
This commit is contained in:
parent
d8f28f669c
commit
f4c3fb26c1
@ -45,9 +45,12 @@ class Mediapart(BasicNewsRecipe):
|
||||
keep_only_tags = [
|
||||
dict(name='h1'),
|
||||
dict(name='div', **classes('author')),
|
||||
classes('introduction content-article')
|
||||
classes('news__heading__top__intro news__body__center__article')
|
||||
]
|
||||
remove_tags = [
|
||||
classes('login-subscribe print-source_url'),
|
||||
dict(name='svg'),
|
||||
]
|
||||
remove_tags = [classes('login-subscribe print-source_url')]
|
||||
conversion_options = {'smarten_punctuation': True}
|
||||
|
||||
masthead_url = "https://raw.githubusercontent.com/lhoupert/calibre_contrib/main/mediapart_masthead.png"
|
||||
|
Loading…
x
Reference in New Issue
Block a user