diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index 5e8e6adefc..e6fc4c6a42 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -148,7 +148,7 @@ class WSJ(BasicNewsRecipe): self.log('Performing login callback...') res = br.submit() self.wsj_itp_page = raw = res.read() - if b'>Sign Out<' not in raw: + if b'logout' not in raw: raise ValueError( 'Failed to login (callback URL failed), check username and password') return br