Quote:
Originally Posted by krunk
@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.