Skip to content

Commit

Permalink
Fix #833074 (business links not working for CNN)
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Aug 24, 2011
1 parent 3f55291 commit 7fd8bf0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes/cnn.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ class CNN(BasicNewsRecipe):
(re.compile(r'<style.*?</style>', 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']),
]


Expand Down

0 comments on commit 7fd8bf0

Please sign in to comment.