Update Financial Times

This commit is contained in:
Kovid Goyal 2014-09-05 20:30:57 +05:30
parent b6bbf61efd
commit acaf2a411b
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ class FinancialTimes(BasicNewsRecipe):
br = BasicNewsRecipe.get_browser(self) br = BasicNewsRecipe.get_browser(self)
br.open(self.INDEX) br.open(self.INDEX)
if self.username is not None and self.password is not None: if self.username is not None and self.password is not None:
br.open(self.LOGIN2) br.open(self.LOGIN)
br.select_form(name='loginForm') br.select_form(name='loginForm')
br['username'] = self.username br['username'] = self.username
br['password'] = self.password br['password'] = self.password

View File

@ -43,7 +43,7 @@ class FinancialTimes(BasicNewsRecipe):
br = BasicNewsRecipe.get_browser(self) br = BasicNewsRecipe.get_browser(self)
br.open(self.INDEX) br.open(self.INDEX)
if self.username is not None and self.password is not None: if self.username is not None and self.password is not None:
br.open(self.LOGIN2) br.open(self.LOGIN)
br.select_form(name='loginForm') br.select_form(name='loginForm')
br['username'] = self.username br['username'] = self.username
br['password'] = self.password br['password'] = self.password