From 25db5f97131eea1b33aa4f72c47851cad0625131 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 23 Oct 2012 13:58:05 +0530 Subject: [PATCH] Fix New York Post --- recipes/nypost.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/nypost.recipe b/recipes/nypost.recipe index 694f5b04d2..4c5bb7c79a 100644 --- a/recipes/nypost.recipe +++ b/recipes/nypost.recipe @@ -17,6 +17,7 @@ class NYPost(BasicNewsRecipe): no_stylesheets = True encoding = 'utf8' use_embedded_content = False + auto_cleanup = True language = 'en' masthead_url = 'http://www.nypost.com/rw/SysConfig/WebPortal/nypost/images/nyp_logo_230x32.gif' extra_css = ' body{font-family: Arial,Helvetica,sans-serif } img{margin-bottom: 0.4em} ' @@ -28,7 +29,7 @@ class NYPost(BasicNewsRecipe): , 'language' : language } - keep_only_tags=[dict(name='div', attrs={'id':'story'})] + #keep_only_tags=[dict(name='div', attrs={'id':'story'})] feeds = [(u'Articles', u'http://www.nypost.com/rss/all_section.xml')]