From 0cab31a35f49e2ab401a557d3cdb41e9187f2c59 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 19 Aug 2011 07:37:38 -0600 Subject: [PATCH] Fix #829417 (Updated recipe for Financial times UK edition) --- recipes/financial_times_uk.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/financial_times_uk.recipe b/recipes/financial_times_uk.recipe index e06eb0dc77..f3ad824bc3 100644 --- a/recipes/financial_times_uk.recipe +++ b/recipes/financial_times_uk.recipe @@ -24,6 +24,7 @@ class FinancialTimes(BasicNewsRecipe): publication_type = 'newspaper' masthead_url = 'http://im.media.ft.com/m/img/masthead_main.jpg' LOGIN = 'https://registration.ft.com/registration/barrier/login' + LOGIN2 = 'http://media.ft.com/h/subs3.html' INDEX = 'http://www.ft.com/uk-edition' PREFIX = 'http://www.ft.com' @@ -39,7 +40,7 @@ class FinancialTimes(BasicNewsRecipe): br = BasicNewsRecipe.get_browser() br.open(self.INDEX) if self.username is not None and self.password is not None: - br.open(self.LOGIN) + br.open(self.LOGIN2) br.select_form(name='loginForm') br['username'] = self.username br['password'] = self.password