Fix Science AAAS

This commit is contained in:
Kovid Goyal 2012-10-29 19:06:33 +05:30
parent f4485b5e02
commit 9c9f0e350c

View File

@ -27,7 +27,7 @@ class ScienceAAS(BasicNewsRecipe):
br = BasicNewsRecipe.get_browser() br = BasicNewsRecipe.get_browser()
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(nr=1) br.select_form(nr=0)
br['username'] = self.username br['username'] = self.username
br['code' ] = self.password br['code' ] = self.password
br.submit() br.submit()