View Single Post
Old 03-04-2011, 01:56 PM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by JFS-NMF View Post
I am having great difficulty creating recipes. Most recently, I have tried the following:


remove_tags = [dict(name='div', attrs={'class':'clearfix'})]
remove_tags_after = [dict(name='div',attrs={'id':'wrapper'})]

Neither line has any effect on that is produced; no tags are removed.
Is there some other syntax or element required in the recipe for for these lines to work?
Post your full recipe, inside CODE tags, and preferably also inside SPOILER tags and I'll take a look. Offhand, I suspect an indent error, or possibly a typo or misunderstanding of the page source html. In particular, remove_tags_after, can be tricky to get right.
Starson17 is offline   Reply With Quote