diff --git a/recipes/economist.recipe b/recipes/economist.recipe index 3388db77de..1a824c7d58 100644 --- a/recipes/economist.recipe +++ b/recipes/economist.recipe @@ -246,6 +246,8 @@ class Economist(BasicNewsRecipe): yield x def postprocess_html(self, soup, first): + for img in soup.findAll('img', srcset=True): + del img['srcset'] for table in list(self.eco_find_image_tables(soup)): caption = table.find('font') img = table.find('img') diff --git a/recipes/economist_free.recipe b/recipes/economist_free.recipe index 3388db77de..1a824c7d58 100644 --- a/recipes/economist_free.recipe +++ b/recipes/economist_free.recipe @@ -246,6 +246,8 @@ class Economist(BasicNewsRecipe): yield x def postprocess_html(self, soup, first): + for img in soup.findAll('img', srcset=True): + del img['srcset'] for table in list(self.eco_find_image_tables(soup)): caption = table.find('font') img = table.find('img') diff --git a/recipes/new_york_review_of_books.recipe b/recipes/new_york_review_of_books.recipe index 74b99c3706..280daed696 100644 --- a/recipes/new_york_review_of_books.recipe +++ b/recipes/new_york_review_of_books.recipe @@ -66,6 +66,11 @@ class NewYorkReviewOfBooks(BasicNewsRecipe): i.extract() return soup + def postprocess_html(self, soup, first): + for img in soup.findAll('img', srcset=True): + del img['srcset'] + return soup + def parse_index(self): soup = self.index_to_soup('http://www.nybooks.com/current-issue')