diff --git a/recipes/science_aas.recipe b/recipes/science_aas.recipe index d5f95c0b83..f94ab1eb99 100644 --- a/recipes/science_aas.recipe +++ b/recipes/science_aas.recipe @@ -27,12 +27,12 @@ class ScienceAAS(BasicNewsRecipe): br = BasicNewsRecipe.get_browser() if self.username is not None and self.password is not None: br.open(self.LOGIN) - br.select_form(name='registered_users_form') + br.select_form(nr=1) br['username'] = self.username br['code' ] = self.password br.submit() return br - keep_only_tags = [ dict(name='div', attrs={'id':'LegacyContent'}) ] + keep_only_tags = [ dict(name='div', attrs={'id':'content-block'}) ] feeds = [(u"Science: Current Issue", u'http://www.sciencemag.org/rss/current.xml')]