From 5359ed37448f0cb1a62eadf7e43193c3dca241e6 Mon Sep 17 00:00:00 2001 From: John Kristensen Date: Sun, 8 Dec 2024 21:35:48 +1100 Subject: [PATCH] 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. --- recipes/lwn.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/lwn.recipe b/recipes/lwn.recipe index 44d8633430..cee5c92b3f 100644 --- a/recipes/lwn.recipe +++ b/recipes/lwn.recipe @@ -28,8 +28,8 @@ class LWN(BasicNewsRecipe): if self.username is not None and self.password is not None: br.open(self.LOGIN) br.select_form(name='loginform') - br['Username'] = self.username - br['Password'] = self.password + br['uname'] = self.username + br['pword'] = self.password br.submit() return br