From d0404dc8c379d745747ac2c9aad4e23bb8e7e4a9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 6 Sep 2012 11:15:21 +0530 Subject: [PATCH] Fix WSJ login detection --- recipes/wsj.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index 0e6f40de26..b1127abd72 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -52,7 +52,7 @@ class WallStreetJournal(BasicNewsRecipe): br['password'] = self.password res = br.submit() raw = res.read() - if 'Welcome,' not in raw and '>Logout<' not in raw: + if '>Log Out<' not in raw: raise ValueError('Failed to log in to wsj.com, check your ' 'username and password') return br