View Single Post
Old 02-15-2010, 04:18 AM   #1436
TBR
Junior Member
TBR began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2010
Device: Sony PRS-505, Asus eeePC 1000H
Thanks very much, sorry for being late in replying, had some health difficulties.


Quote:
Originally Posted by kiklop74 View Post
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']})
                         ]
TBR is offline