Fix #833074 (business links not working for CNN)

This commit is contained in:
Kovid Goyal 2011-08-24 16:24:19 -06:00
parent 3f55291e7d
commit 7fd8bf0f2a

View File

@ -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']),
]