This commit is contained in:
Kovid Goyal 2022-09-12 12:38:53 +05:30
parent 470a7a3af7
commit 8304e5911e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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;}'
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:
br.open('https://www.nytimes.com/auth/login')
br.select_form(name='login')