Quote:
Originally Posted by EW1(SG)
What appears to be happening is that a new PHPSESSID cookie is generated for each article than I am trying to download, and since the builtin recipe doesn't seem to handle them~the session generated for each article is not available when the request to download it is sent, so no content is retrieved.
|
I find that I can always track what's happening by comparing Calibre's operation (using the debugging code I gave you) with what happens in Firefox (using TamperData, Live HTTP Headers or the like). I strongly suspect you are missing something. Cookies seem to be handled well by recipes, but if they aren't you can use manual control.
A debugging approach I've found works well is to try to simulate in Firefox what I "think" is happening in the recipe. Until I can make FF do the same thing, I usually haven't figured out what's wrong in the recipe. It may be a header, a referer, or some other detail. I'm not saying you're wrong about it being cookies, just that each time I thought that, it turned out to be something else and the recipe was handling cookies just fine.
Good luck.