From 485353e0b92299c0c6739a5e42f27fde2881a740 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 28 Oct 2011 16:01:47 +0530 Subject: [PATCH] Fix #883007 (fixed Science AAAS recipe) --- recipes/science_aas.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')]