diff --git a/recipes/financial_times.recipe b/recipes/financial_times.recipe index 20e68683e0..62384d6aed 100644 --- a/recipes/financial_times.recipe +++ b/recipes/financial_times.recipe @@ -146,6 +146,9 @@ class ft(BasicNewsRecipe): return html def preprocess_html(self, soup): + p = soup.find(**classes('o-topper__standfirst')) + if p: + p.name = 'p' for table in soup.findAll('table'): if len(table.find('tbody').findAll('tr')) > 20: table.find('tbody').decompose() diff --git a/recipes/mit_technology_review.recipe b/recipes/mit_technology_review.recipe index 709962c0ba..08bbd0b9fc 100644 --- a/recipes/mit_technology_review.recipe +++ b/recipes/mit_technology_review.recipe @@ -76,7 +76,9 @@ class MitTechnologyReview(BasicNewsRecipe): soup = self.index_to_soup(self.INDEX) issue = soup.find(attrs={'class':lambda x: x and x.startswith('magazineHero__title')}) time = soup.find(attrs={'class': lambda x: x and x.startswith('magazineHero__date')}) + desc = soup.find(attrs={'class': lambda x: x and x.startswith('magazineHero__description')}) self.title = 'MIT Tech Review ' + self.tag_to_string(issue) + self.description = self.tag_to_string(desc) self.timefmt = ' [' + self.tag_to_string(time) + ']' self.log('Downloading issue: ', self.timefmt) diff --git a/recipes/the_week_magazine_free.recipe b/recipes/the_week_magazine_free.recipe index c2d3717c30..3f1f0b2dc2 100644 --- a/recipes/the_week_magazine_free.recipe +++ b/recipes/the_week_magazine_free.recipe @@ -65,7 +65,7 @@ class TheWeek(BasicNewsRecipe): ] remove_tags = [ - dict(name='aside'), + dict(name=['aside', 'source']), classes( 'blueconic-article__wrapper ad-unit van_vid_carousel tag-links' ) diff --git a/recipes/the_week_uk.recipe b/recipes/the_week_uk.recipe index 0ccf8b9902..7652ce29bf 100644 --- a/recipes/the_week_uk.recipe +++ b/recipes/the_week_uk.recipe @@ -65,7 +65,7 @@ class TheWeek(BasicNewsRecipe): ] remove_tags = [ - dict(name='aside'), + dict(name=['aside', 'source']), classes( 'blueconic-article__wrapper ad-unit van_vid_carousel tag-links' )