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 @@ def get_browser(self):
br = BasicNewsRecipe.get_browser()
if self.username is not None and self.password is not None:
br.open(self.LOGIN)
br.select_form(nr=1)
br.select_form(nr=0)
br['username'] = self.username
br['code' ] = self.password
br.submit()