Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

"No JSON could be decoded" Error! I know we shouldn publish erros but like does someone know what is going on there #59

Description

@raphaelbleier

I have a JSON error pls help me!!!

Exception in thread YT_THREAD:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "yt.py", line 72, in subscribe_wrapper
session = youtube_session(email, password)
File "yt.py", line 49, in youtube_session
google = authenticator.Glogin()
, line 130, in Glogin
token=self.__g_token(),
, line 83, in _g_token
return json.loads((response.content).replace(")]}'",""))[0][0][2]
File "C:\Python27\lib\json_init
.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Thanks for help!

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