View Single Post
Old 02-25-2011, 09:15 AM   #4
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 EW1(SG) View Post
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.
Starson17 is offline   Reply With Quote