mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Wired Magazine
This commit is contained in:
parent
519c87d989
commit
8c54867bbd
@ -40,14 +40,17 @@ class WiredDailyNews(BasicNewsRecipe):
|
|||||||
ul li{display: inline}
|
ul li{display: inline}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
keep_only_tags = [
|
||||||
|
classes('content-header lead-asset article__body'),
|
||||||
|
]
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
classes('related-cne-video-component tags-component podcast_storyboard inset-left-component'),
|
classes(
|
||||||
|
'related-cne-video-component tags-component callout--related-list iframe-embed podcast_storyboard'
|
||||||
|
' inset-left-component ad consumer-marketing-component social-icons'
|
||||||
|
),
|
||||||
dict(name=['meta', 'link']),
|
dict(name=['meta', 'link']),
|
||||||
dict(id=['sharing', 'social', 'article-tags', 'sidebar']),
|
dict(id=['sharing', 'social', 'article-tags', 'sidebar']),
|
||||||
]
|
]
|
||||||
keep_only_tags = [
|
|
||||||
dict(name='main', attrs={'class': lambda x: x and 'article-main-component__content' in x}),
|
|
||||||
]
|
|
||||||
|
|
||||||
def parse_wired_index_page(self, currenturl, seen):
|
def parse_wired_index_page(self, currenturl, seen):
|
||||||
self.log('Parsing index page', currenturl)
|
self.log('Parsing index page', currenturl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user