Skip to content

Unable to fetch League #48

Description

@CowboyKillers

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions