diff --git a/recipes/der_spiegel.recipe b/recipes/der_spiegel.recipe index 9ea4be6201..2405b75427 100644 --- a/recipes/der_spiegel.recipe +++ b/recipes/der_spiegel.recipe @@ -44,9 +44,9 @@ class DerSpiegel(BasicNewsRecipe): br = BasicNewsRecipe.get_browser(self) if self.username is not None and self.password is not None: - br.open(self.PREFIX + '/meinspiegel/login.html') + br.open(self.PREFIX + '/meinspiegel/login.html?backUrl=' + self.PREFIX + '/spiegel/print') br.select_form(predicate=has_login_name) - br['f.loginName' ] = self.username + br['f.loginName'] = self.username br['f.password'] = self.password br.submit() return br @@ -80,4 +80,4 @@ class DerSpiegel(BasicNewsRecipe): url = self.PREFIX + link['href'] articles.append({'title' : title, 'date' : strftime(self.timefmt), 'url' : url}) feeds.append((section_title,articles)) - return feeds; + return feeds