mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
470a7a3af7
commit
8304e5911e
@ -175,7 +175,7 @@ A reasonably complex real life example that exposes more of the :term:`API` of `
|
|||||||
extra_css = 'h1 {font: sans-serif large;}\n.byline {font:monospace;}'
|
extra_css = 'h1 {font: sans-serif large;}\n.byline {font:monospace;}'
|
||||||
|
|
||||||
def get_browser(self):
|
def get_browser(self):
|
||||||
br = BasicNewsRecipe.get_browser()
|
br = BasicNewsRecipe.get_browser(self)
|
||||||
if self.username is not None and self.password is not None:
|
if self.username is not None and self.password is not None:
|
||||||
br.open('https://www.nytimes.com/auth/login')
|
br.open('https://www.nytimes.com/auth/login')
|
||||||
br.select_form(name='login')
|
br.select_form(name='login')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user