View Single Post
Old 03-18-2011, 02:22 PM   #3
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 mufc View Post
This is in my recipe
remove_tags = [dict(name='span', attrs={'class':'articledate'})]

Below is the relevant piece of html of one of the pages. Why does this not remove the dates ?

<ul class="calibrefeedlist">
You have quoted and are looking at the output html, but remove_tags operates on the input html. They can be significantly different. You have to match the html of the input.
Starson17 is offline   Reply With Quote