diff --git a/recipes/wired.recipe b/recipes/wired.recipe index c4b884ce1a..1504fd6d99 100644 --- a/recipes/wired.recipe +++ b/recipes/wired.recipe @@ -40,14 +40,17 @@ class WiredDailyNews(BasicNewsRecipe): ul li{display: inline} """ + keep_only_tags = [ + classes('content-header lead-asset article__body'), + ] 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(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): self.log('Parsing index page', currenturl)