Quote:
Originally Posted by aerodynamik
e.g. extra line breaks removed, download additional online sections that are not online every day.
|
This is easier than I thought.
To remove extra line brikes add 'br' to the 2nd dictionary in remove_tags:
Code:
remove_tags =[
dict(attrs={'class':'hidePrint'})
,dict(name=['link','object','embed','base','iframe','br'])
]
To add more feeds, just add them to the list of feeds like this
Code:
,(u'Muenchen City' , INDEX + 'M%FCnchen+City/' )
,(u'Wochenende' , INDEX + 'SZ+am+Wochenende/' )
I was worried about that one might have to check first if the actual page would exist, but it just results in an empty section that is removed automatically.
This is great. I'll test some more, complete the list of feeds and would then post the complete updated recipe here.
Hope that helps anyone, have a good weekend.
- aerodynamik