espnff icon indicating copy to clipboard operation
espnff copied to clipboard

Unable to fetch League

Open CowboyKillers opened this issue 6 years ago • 2 comments

Getting:

league = League(719284, 2017) Traceback (most recent call last): File "", line 1, in File "/Users/Ash/Downloads/espnff-master/espnff/league.py", line 22, in init self._fetch_league() File "/Users/Ash/Downloads/espnff-master/espnff/league.py", line 42, in _fetch_league data = r.json() File "/anaconda/lib/python3.6/site-packages/requests/models.py", line 877, in json self.content.decode(encoding), **kwargs File "/anaconda/lib/python3.6/site-packages/simplejson/init.py", line 516, in loads return _default_decoder.decode(s) File "/anaconda/lib/python3.6/site-packages/simplejson/decoder.py", line 374, in decode obj, end = self.raw_decode(s) File "/anaconda/lib/python3.6/site-packages/simplejson/decoder.py", line 404, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

CowboyKillers avatar Apr 24 '18 16:04 CowboyKillers

I just opened an issue for a similar problem, only that is says Expecting value: line 2 column 2 (char 2). Did you ever resolve this? If so, how?

earlejam avatar Feb 15 '19 21:02 earlejam

@earlejam Same issue as #59, unrelated to this issue.

danabrey avatar Feb 18 '19 16:02 danabrey