mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix typo that was preventing web2lrf from logging in when fetching nytimes.
This commit is contained in:
parent
41e7de3077
commit
19b02787b2
@ -38,8 +38,8 @@ class NYTimes(DefaultProfile):
|
||||
]
|
||||
]
|
||||
|
||||
def browser(self):
|
||||
br = DefaultProfile.browser(self)
|
||||
def get_browser(self):
|
||||
br = DefaultProfile.get_browser()
|
||||
if self.username is not None and self.password is not None:
|
||||
br.open('http://www.nytimes.com/auth/login')
|
||||
br.select_form(name='login')
|
||||
|
Loading…
x
Reference in New Issue
Block a user