mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'lwn.net' of https://github.com/jerrykan/calibre
This commit is contained in:
commit
5038fb5994
@ -28,8 +28,8 @@ class LWN(BasicNewsRecipe):
|
|||||||
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(self.LOGIN)
|
br.open(self.LOGIN)
|
||||||
br.select_form(name='loginform')
|
br.select_form(name='loginform')
|
||||||
br['Username'] = self.username
|
br['uname'] = self.username
|
||||||
br['Password'] = self.password
|
br['pword'] = self.password
|
||||||
br.submit()
|
br.submit()
|
||||||
return br
|
return br
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user