From 905e755fcc51639cb3c41040e8ee26ddce22249e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 19 Aug 2017 09:49:41 +0530 Subject: [PATCH] ... --- recipes/barrons.recipe | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/barrons.recipe b/recipes/barrons.recipe index 72bcfe0f4c..7b57fa79a2 100644 --- a/recipes/barrons.recipe +++ b/recipes/barrons.recipe @@ -79,11 +79,11 @@ class Barrons(BasicNewsRecipe): raise ValueError( 'Failed to login (XHR failed), check username and password') br.set_cookie('m', data['username'], '.barrons.com') - raw = br.open(data['url']).read() + br.open(data['url']).read() # open('/t/raw.html', 'wb').write(raw) - if b'>Logout<' not in raw: - raise ValueError( - 'Failed to login (auth URL failed), check username and password') + # if b'>Logout<' not in raw: + # raise ValueError( + # 'Failed to login (auth URL failed), check username and password') return br # Use the print version of a page when available.