I can see SOME of the cookies in the debug but they're not all getting passed through
Code:
kw['user_agent'] = random_user_agent(allow_ie=False)
br = BasicNewsRecipe.get_browser(self, *a, **kw)
self.log('Starting login process...')
br.set_debug_redirects(True)
br.set_debug_http(True)
cookiejar = mechanize.FileCookieJar('/home/me/calibre-commandline/cookies.txt')
#br.set_handle_robots(False)
br.set_cookiejar(cookiejar) #self.log(cookiejar)
res = br.open(start_url)
this fails to login. but just curl'ing with curl -c cookies.txt <paywalled url> works fine.
looking at the debug headers some of the cookie headers are being passed but not all of them. the cookie file looks fine though.