View Single Post
Old 12-01-2010, 04:50 PM   #4
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 weebl View Post
I've tried the method you suggested for removing it, and I've also tried replacing it. But I think I am getting something wrong with the syntax. The whole story gets deleted.

Here is specifically what I need to have removed, or replaced from the story.
Code:
<div style="background-image:url(/gci/gc/p15/background_sprite.gif);background-color:transparent;background-position:-3000px 0;">

				<img src="/graphics/mastlogo.gif" alt=www.poughkeepsiejournal.com border="0" >

			</div>
If you just want to remove the img tag, then try this:
remove_tags = [dict(name='img', attrs={'src':'/graphics/mastlogo.gif'})]
Starson17 is offline   Reply With Quote