This commit is contained in:
Kovid Goyal 2024-12-08 16:59:22 +05:30
commit 5038fb5994
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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