mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
1cd6aaef70
commit
048e917412
@ -54,8 +54,8 @@ class WeeklyLWN(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('https://lwn.net/login')
|
br.open('https://lwn.net/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