From eec0ebd6ec10ba6ca3045bdcdeb304c8c382d442 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 9 Nov 2016 08:06:02 +0530 Subject: [PATCH] ... --- recipes/nytimes_sub.recipe | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/nytimes_sub.recipe b/recipes/nytimes_sub.recipe index 7a9363daf2..6cff6e1e48 100644 --- a/recipes/nytimes_sub.recipe +++ b/recipes/nytimes_sub.recipe @@ -408,13 +408,13 @@ class NYTimes(BasicNewsRecipe): def get_browser(self): br = BasicNewsRecipe.get_browser(self) if self.username is not None and self.password is not None: - br.open('http://www.nytimes.com/auth/login') + br.open('https://www.nytimes.com/auth/login') br.form = br.forms().next() br['userid'] = self.username br['password'] = self.password - raw = br.submit().read() - if 'Please try again' in raw: - raise Exception('Your username and password are incorrect') + br.submit().read() + # if 'Please try again' in raw: + # raise Exception('Your username and password are incorrect') return br cover_tag = 'NY_NYT'