This commit is contained in:
Kovid Goyal 2025-06-21 07:19:09 +05:30
commit 03ccd2c8c9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -98,9 +98,9 @@ class Reason(BasicNewsRecipe):
br = BasicNewsRecipe.get_browser(self)
if self.username is not None and self.password is not None:
br.open('https://reason.com/login')
br.select_form(id='login_form')
br['text_username'] = self.username
br['password_password'] = self.password
br.select_form(id='gform_0')
br['input_1'] = self.username
br['input_2'] = self.password
br.submit()
return br