Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to fetch League #48

Open
CowboyKillers opened this issue Apr 24, 2018 · 2 comments
Open

Unable to fetch League #48

CowboyKillers opened this issue Apr 24, 2018 · 2 comments

Comments

@CowboyKillers
Copy link

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)

@earlejam
Copy link

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?

@danabrey
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants