Fix #1045046 (Houston Chronicle news fetch failing)

This commit is contained in:
Kovid Goyal 2012-09-03 19:57:39 +05:30
parent 4fcbf630e5
commit 75f1271681

View File

@ -13,12 +13,13 @@ class HoustonChronicle(BasicNewsRecipe):
no_stylesheets = True
use_embedded_content = False
remove_attributes = ['style']
auto_cleanup = True
oldest_article = 2.0
keep_only_tags = {'class':lambda x: x and ('hst-articletitle' in x or
'hst-articletext' in x or 'hst-galleryitem' in x)}
remove_attributes = ['xmlns']
#keep_only_tags = {'class':lambda x: x and ('hst-articletitle' in x or
#'hst-articletext' in x or 'hst-galleryitem' in x)}
#remove_attributes = ['xmlns']
feeds = [
('News', "http://www.chron.com/rss/feed/News-270.php"),
@ -37,3 +38,4 @@ class HoustonChronicle(BasicNewsRecipe):
]