This commit is contained in:
Kovid Goyal 2011-09-24 11:00:48 -06:00
parent 0f138cd43c
commit de794e1403

View File

@ -10,7 +10,11 @@ class TimesOfIndia(BasicNewsRecipe):
no_stylesheets = True no_stylesheets = True
remove_attributes = ['style'] remove_attributes = ['style']
keep_only_tags = [{'class':re.compile(r'maintable12|prttabl')}] keep_only_tags = [
{'class':re.compile(r'maintable12|prttabl')},
{'id':['mod-article-header',
'mod-a-body-after-first-para', 'mod-a-body-first-para']},
]
remove_tags = [ remove_tags = [
{'class':re.compile('tabsintbgshow|prvnxtbg')}, {'class':re.compile('tabsintbgshow|prvnxtbg')},
{'id':['fbrecommend', 'relmaindiv']} {'id':['fbrecommend', 'relmaindiv']}