View Single Post
Old 08-15-2010, 08:23 AM   #2449
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 cisaak View Post
Thanks again for the help.

Inside the first h1 tag there is:
<a title="(text of different headline)" href="/">(text of headline I want)</a>

Nothing inside the second h1 tag.

This applies to any article in the online version of the St Louis Post-Dispatch.
Use FireFox and FireBug to find a tag containing the <h1> tag you don't want then just use remove_tags to remove it.

It looks to me like you've got it backwards. I think you want to keep the second tag, the one without the <a> tag. The second one is the title for your article.

Try this:
Code:
remove_tags= [dict(name='div', attrs={'id':'blox-header'})]
Starson17 is offline