mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix lwn.net login
The field names on the LWN login pages have changed and the recipe needs to be updated to use the new field names.
This commit is contained in:
parent
d81c82b967
commit
5359ed3744
@ -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