From 288e71de6f581a5fda511ff47de45528aa4e62b9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 5 Sep 2012 09:33:11 +0530 Subject: [PATCH] ... --- recipes/scmp.recipe | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/scmp.recipe b/recipes/scmp.recipe index 1da7b9e1bc..a4f4bf497c 100644 --- a/recipes/scmp.recipe +++ b/recipes/scmp.recipe @@ -39,10 +39,10 @@ class SCMP(BasicNewsRecipe): #br.set_debug_responses(True) #br.set_debug_redirects(True) if self.username is not None and self.password is not None: - br.open('http://www.scmp.com/portal/site/SCMP/') - br.select_form(name='loginForm') - br['Login' ] = self.username - br['Password'] = self.password + br.open('http://www.scmp.com/') + br.select_form(nr=1) + br['name'] = self.username + br['pass'] = self.password br.submit() return br