View Single Post
Old 10-24-2010, 09:37 AM   #9
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
I finally had time to look at this.
Most of your links from the RSS feed work normally, but occasionally a link like this:

Code:
http://www.dispatch.com/live/content/local_news/stories/2010/10/24/an-illusion-of-treatment.html?sid=101
is sent off to a link like this:
Code:
http://www.dispatchpolitics.com/live/content/local_news/stories/2010/10/24/copy/an-illusion-of-treatment.html?adsec=politics&sid=101
resulting in the problems you see. (Don't you love the political ad season!)
This is done by adding a <meta http-equiv="refresh"> tag to the code.
Add this to your recipe to prevent it:
Code:
remove_tags.append(dict(name = 'meta', attrs = {'http-equiv': 'refresh'}))

Last edited by Starson17; 10-24-2010 at 09:46 AM.
Starson17 is offline   Reply With Quote