How to log in?
[Edit: never mind, I posted before reading today's replies. It seems that there's a fixed version of this recipe built into the latest Calibre. I deleted the custom recipe and am now using the built-in one. Seems to work.]
Thanks, baron, I really like the formatting this recipe gets.
I've run into a bit of difficulty, though: after the first two uses, the download now fails with the message "Could not find any articles. Has your subscription expired?" My Economist subscription is current, and I have full access to the site via my browser after logging in.
I've changed the "needs_subscription" value to true in the recipe, but then the failure message says "The 'The Economist' recipe needs a username and password." Reading the doc, I thought that setting needs_subscription to true means Calibre will ask me for my username and password, but that doesn't happen. It just proceeds with running the recipe and failing because it doesn't have the login info.
I've also tried uncommenting the get_browser method in the recipe and hard-coding my username and password strings in there. But that still failed with the same "needs username/password" message.
I'm not really sure how to solve the problem. Does anyone know why Calibre isn't asking me for my username and password?
Many thanks...
Last edited by TOWiz; 07-29-2011 at 09:31 AM.
Reason: Failed to read all posts before replying :(
|