View Single Post
Old 11-09-2017, 05:43 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,408
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
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.
kovidgoyal is online now   Reply With Quote