mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #883007 (fixed Science AAAS recipe)
This commit is contained in:
parent
7b76e9dc68
commit
485353e0b9
@ -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')]
|
||||
|
Loading…
x
Reference in New Issue
Block a user