Disable logins on espn since it has moved to a JS based login system that I cannot be bothered reversing

This commit is contained in:
Kovid Goyal 2018-12-11 18:47:28 +05:30
parent b9eeeaace3
commit d97dea713a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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()