From d97dea713add58aa0d40887a293e8905ae5feec7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 11 Dec 2018 18:47:28 +0530 Subject: [PATCH] Disable logins on espn since it has moved to a JS based login system that I cannot be bothered reversing --- recipes/espn.recipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/espn.recipe b/recipes/espn.recipe index 0ee53369ed..8c4ce332fa 100644 --- a/recipes/espn.recipe +++ b/recipes/espn.recipe @@ -76,7 +76,9 @@ class ESPN(BasicNewsRecipe): def get_browser(self): br = BasicNewsRecipe.get_browser(self) - if self.username and self.password: + if False and self.username and self.password: + # ESPN has changed to a JS based login system, cant be bothered + # revering it br.set_handle_refresh(False) url = ('https://r.espn.go.com/members/v3_1/login') raw = br.open(url).read()