View Single Post
Old 03-06-2010, 09:39 PM   #1545
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 Starson17 View Post
There's always more than one way to skin a kangaroo.
A quick comment. If the normal keep and remove tags aren't working well, you may be best off using postprocess_html and soup on a tag by tag basis. The re method is very powerful, but doesn't operate tag by tag, so the option I gave might remove the beginning of an outer div tag only up to the end of an inner tag, and that's not what you want. OTOH, if you know exactly what you want to remove, you can use the re to rip it out by defining start and end of the rip without regard to tag structure.
Starson17 is offline