From 88605719fc07a367ceb851d53278c40048534aff Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 12 Apr 2013 09:41:32 +0530 Subject: [PATCH] Update the Independent --- recipes/independent.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/independent.recipe b/recipes/independent.recipe index 43f0f9acde..fc6bacce57 100644 --- a/recipes/independent.recipe +++ b/recipes/independent.recipe @@ -41,6 +41,7 @@ class TheIndependentNew(BasicNewsRecipe): publication_type = 'newspaper' masthead_url = 'http://www.independent.co.uk/independent.co.uk/editorial/logo/independent_Masthead.png' encoding = 'utf-8' + compress_news_images = True remove_tags =[ dict(attrs={'id' : ['RelatedArtTag','renderBiography']}), dict(attrs={'class' : ['autoplay','openBiogPopup']}), @@ -343,7 +344,7 @@ class TheIndependentNew(BasicNewsRecipe): if 'class' in subtitle_div: clazz = subtitle_div['class'] + ' ' clazz = clazz + 'subtitle' - subtitle_div['class'] = clazz + subtitle_div['class'] = clazz #find broken images and remove captions items_to_extract = []