mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 10:03:04 +02:00
Fix typo that was preventing web2lrf from logging in when fetching nytimes.
This commit is contained in:
parent
41e7de3077
commit
19b02787b2
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue