From 7fd8bf0f2afa9d2835e6eba109073d9d00238345 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 24 Aug 2011 16:24:19 -0600 Subject: [PATCH] Fix #833074 (business links not working for CNN) --- recipes/cnn.recipe | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/recipes/cnn.recipe b/recipes/cnn.recipe index ccf47e26d803..096c370706f5 100644 --- a/recipes/cnn.recipe +++ b/recipes/cnn.recipe @@ -28,11 +28,12 @@ class CNN(BasicNewsRecipe): (re.compile(r'', re.DOTALL), lambda m: ''), ] - keep_only_tags = [dict(id='cnnContentContainer')] + keep_only_tags = [dict(id=['cnnContentContainer', 'storycontent'])] remove_tags = [ {'class':['cnn_strybtntools', 'cnn_strylftcntnt', 'cnn_strybtntools', 'cnn_strybtntoolsbttm', 'cnn_strybtmcntnt', - 'cnn_strycntntrgt']}, + 'cnn_strycntntrgt', 'hed_side', 'foot']}, + dict(id=['ie_column']), ]