From 052ed1010a929bfca14f271b2a9846c9d17c0448 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 11 Sep 2012 10:49:08 +0530 Subject: [PATCH] ... --- recipes/wsj.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index dc6ec83e60..057da7adf7 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -65,7 +65,7 @@ class WallStreetJournal(BasicNewsRecipe): br['password'] = self.password res = br.submit() raw = res.read() - if '>Log Out<' not in raw: + if 'Welcome,' not in raw and '>Logout<' not in raw and '>Log Out<' not in raw: raise ValueError('Failed to log in to wsj.com, check your ' 'username and password') return br