Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

broken ratelimit? #21

Open
ZenoNiQ opened this issue Apr 13, 2021 · 0 comments
Open

broken ratelimit? #21

ZenoNiQ opened this issue Apr 13, 2021 · 0 comments

Comments

@ZenoNiQ
Copy link

ZenoNiQ commented Apr 13, 2021

Traceback (most recent call last):
  line 136, in <module>
    main()
 line 126, in main
    userid = usernameToUserId(args.username)
 line 39, in usernameToUserId
    if json.loads(r).get("message") == 'rate limited':
  File "C:\Program Files\Python3\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\Program Files\Python3\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Program Files\Python3\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant