View Single Post
Old 11-09-2017, 06:14 AM   #3
inte
Member
inte began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2017
Device: Kindle Oasis
Quote:
Originally Posted by kovidgoyal View Post
The log into the website section of the new york times example in the manual is about as simple as it gets. It's about five lines of code, see the get_browser() function which is all that you need.

Although from your description you want to perform HTTP auth, not cookies based auth. In which case, you should look at the documentation of python-mechanize,as the browser object in calibre is a mechanize browser object.
Jey, figured it out already.
The problem is that the form on the website neither has a name nor an id.
I eventually searched for the "action='login/'" part on the site.
Works fine now, great!
Now I only need to figure out how to configure my kindle not to sync everything I email to it into the amazon cloud...
inte is offline   Reply With Quote