From ed20dd6233b3bcd42d83187c3b673a66632e5b61 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 17 Feb 2016 23:01:13 +0530 Subject: [PATCH] Reduce size of images downloaded by la times recipe --- recipes/latimes.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/latimes.recipe b/recipes/latimes.recipe index 6cdc89d847..6e53db963e 100644 --- a/recipes/latimes.recipe +++ b/recipes/latimes.recipe @@ -50,7 +50,7 @@ class LATimes(BasicNewsRecipe): def preprocess_html(self, soup): for img in soup.findAll('img', attrs={'data-baseurl':True}): - img['src'] = img['data-baseurl'] + img['src'] = img['data-baseurl'] + '/750' for div in soup.findAll(itemprop='articleBody'): div.extract() soup.find('body').append(div)