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

[BUG]json.decoder.JSONDecodeError #699

Open
boluohong opened this issue Apr 13, 2024 · 1 comment
Open

[BUG]json.decoder.JSONDecodeError #699

boluohong opened this issue Apr 13, 2024 · 1 comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems)

Comments

@boluohong
Copy link

用的win7系统,所以只能用的旧版本13090
之前项目更新后,还能用就凑合用了
这两天不行了
报错如下

提示 :正在进行第 1 次尝试
[ 用户 ]:朝阳刘亦肥
提示 :抓获用户主页数据成功!
提示 :正在替换当页所有作品非法字符,耐心等待!
提示 :正在替换作者非法字符,耐心等待!

提示 :正在对 1709377523000 页进行第 1 次尝试!
提示 :第 1702738945000 页抓获数据成功!
提示 :正在替换当页所有作品非法字符,耐心等待!
提示 :正在替换作者非法字符,耐心等待!
Traceback (most recent call last):
File "1.py", line 32, in
profile.getProfile(cmd.setting())
File "T:\0311\Util\Profile.py", line 132, in getProfile
self.getData(self.api_post_url)
File "T:\0311\Util\Profile.py", line 182, in getData
self.getVideoInfo(result)
File "T:\0311\Util\Profile.py", line 303, in getVideoInfo
self.getNextData()
File "T:\0311\Util\Profile.py", line 233, in getNextData
self.getVideoInfo(result)
File "T:\0311\Util\Profile.py", line 300, in getVideoInfo
datas = Util.Images(self.headers).get_all_images(self.image_list)
File "T:\0311\Util\Images.py", line 56, in get_all_images
js = Util.json.loads(r)
File "C:\Users\hp\AppData\Local\Programs\Python\Python37\lib\json_init_.py"
, line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\hp\AppData\Local\Programs\Python\Python37\lib\json\decoder.py",
line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\hp\AppData\Local\Programs\Python\Python37\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)

@boluohong boluohong added the 故障(bug) 代码问题导致的错误(Bugs caused by code problems) label Apr 13, 2024
@Johnserf-Seed
Copy link
Owner

旧版不维护了,请用新版

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems)
Projects
None yet
Development

No branches or pull requests

2 participants