View Single Post
Old 09-21-2010, 05:37 PM   #2793
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 krunk View Post
@Starson17
Many thanks, that's a far more thorough recipe than I was working on.
It shouldn't be hard to pull out the Accept header and see if it fixes your Bad Behavior problem.
Code:
    def get_browser(self):
        br = BasicNewsRecipe.get_browser(self)
        br.addheaders = [('Accept', 'text/html')]
        return br
When I first saw your post, I didn't realize you were working on the Skeptic Blog. That's where I found the Bad Behavior problem, too, so that code should probably fix it.
Starson17 is offline