From 94583c3bfca98f10c92ffea51c7b18763ec12fe1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 19 Jun 2011 23:41:06 -0600 Subject: [PATCH] ... --- recipes/wsj.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index cf84722bac..a3bc041d25 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -51,7 +51,7 @@ class WallStreetJournal(BasicNewsRecipe): br['password'] = self.password res = br.submit() raw = res.read() - if 'Welcome,' not in raw: + if 'Welcome,' not in raw and '>Logout<' not in raw: raise ValueError('Failed to log in to wsj.com, check your ' 'username and password') return br