mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:14:07 +02: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
1 changed files with 3 additions and 1 deletions
|
|
@ -76,7 +76,9 @@ def postprocess_html(self, soup, first_fetch):
|
||||||
|
|
||||||
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…
Reference in a new issue