From cbe910cda6e69aa50e961bc97fae885d2acbbd77 Mon Sep 17 00:00:00 2001 From: jn809 Date: Sun, 29 Mar 2020 15:11:09 +0800 Subject: [PATCH] add keep_only_tags and remove_tags --- recipes/mit_technology_review.recipe | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/mit_technology_review.recipe b/recipes/mit_technology_review.recipe index 9d219c7752..65b2114d81 100644 --- a/recipes/mit_technology_review.recipe +++ b/recipes/mit_technology_review.recipe @@ -39,10 +39,11 @@ class MitTechnologyReview(BasicNewsRecipe): keep_only_tags = [ 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 = [ - classes('l-article-list'), + classes('l-article-list signup-wrapper'), + dict(name="svg") ] def parse_index(self):