mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
add keep_only_tags and remove_tags
This commit is contained in:
parent
20e88f1f8e
commit
cbe910cda6
@ -39,10 +39,11 @@ class MitTechnologyReview(BasicNewsRecipe):
|
|||||||
|
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
classes(
|
classes(
|
||||||
'article-topper__topic article-topper__title article-topper__media-wrap article-body__content'),
|
'article-topper__topic article-topper__title article-topper__media-wrap article-body__content storyContent'),
|
||||||
]
|
]
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
classes('l-article-list'),
|
classes('l-article-list signup-wrapper'),
|
||||||
|
dict(name="svg")
|
||||||
]
|
]
|
||||||
|
|
||||||
def parse_index(self):
|
def parse_index(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user