mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
b9eeeaace3
commit
d97dea713a
@ -76,7 +76,9 @@ class ESPN(BasicNewsRecipe):
|
|||||||
|
|
||||||
def get_browser(self):
|
def get_browser(self):
|
||||||
br = BasicNewsRecipe.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)
|
br.set_handle_refresh(False)
|
||||||
url = ('https://r.espn.go.com/members/v3_1/login')
|
url = ('https://r.espn.go.com/members/v3_1/login')
|
||||||
raw = br.open(url).read()
|
raw = br.open(url).read()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user