Thanks very much, sorry for being late in replying, had some health difficulties.
Quote:
Originally Posted by kiklop74
This is what you should put in your recipe for complete cleanup:
Code:
remove_attributes = ['width','height']
remove_tags_before = dict(name='h1')
remove_tags_after = dict(name='div',attrs={'class':'ynw-article-body mod'})
remove_tags = [
dict(attrs={'id':['ynw-image-video-inset','ynw-more-news']})
,dict(attrs={'class':['ynw-utility']})
]
|