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

我添加了hosts,依然运行报错。 #51

Description

@YangNaner

2022-01-06 17:16:52 当前用户:161105024
Traceback (most recent call last):
File "C:\Users\小明\Desktop\auto-submit-master\index.py", line 388, in
print(main_handler({}, {}))
File "C:\Users\小明\Desktop\auto-submit-master\index.py", line 381, in main_handler
raise e
File "C:\Users\小明\Desktop\auto-submit-master\index.py", line 344, in main_handler
apis = getCpdailyApis(user)
File "C:\Users\小明\Desktop\auto-submit-master\index.py", line 37, in getCpdailyApis
schools = requests.get(
File "D:\Program Files\Python39\lib\site-packages\requests\models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "D:\Program Files\Python39\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "D:\Program Files\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\Program Files\Python39\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)

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