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

JSON Decode error on initiation #142

Closed
HumanBot000 opened this issue Apr 1, 2024 · 1 comment
Closed

JSON Decode error on initiation #142

HumanBot000 opened this issue Apr 1, 2024 · 1 comment

Comments

@HumanBot000
Copy link

HumanBot000 commented Apr 1, 2024

lingo  = duolingo.Duolingo('User', 'PW')
print(lingo.get_user_info())

results in

 
    lingo  = duolingo.Duolingo('User', 'PW')
  File "frfrfrfrfedevr\duolingo.py", line 66, in __init__
    self._login()
  File "jemff4gfh4rb\duolingo.py", line 105, in _login
    attempt = request.json()
  File "dhb3ufh34fffh403bgf\requests\models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
@HumanBot000
Copy link
Author

I thinks it's a copy of #128 (comment)

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

1 participant