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 #272

Closed
zzylmt opened this issue Dec 25, 2022 · 4 comments
Closed

[BUG]json.decoder.JSONDecodeError #272

zzylmt opened this issue Dec 25, 2022 · 4 comments
Assignees
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)

Comments

@zzylmt
Copy link

zzylmt commented Dec 25, 2022

Traceback (most recent call last):
File "c:\Users\DELL\Desktop\TikTokDownload\TikTokTool.py", line 29, in
profile.getProfile(cmd.setting())
File "c:\Users\DELL\Desktop\TikTokDownload\Util\Profile.py", line 73, in getProfile
post_name_json = Util.json.loads(Util.requests.get(url = post_url, headers=self.headers).content.decode())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\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)

最新版本,没有修改任何代码,运行就出现这个问题

@zzylmt zzylmt added 故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies) labels Dec 25, 2022
@Evil0ctal
Copy link

#274

@speaker-lover
Copy link

我也遇到了这个问题,请问您解决了吗

@Johnserf-Seed
Copy link
Owner

已经成功解决加密参数,等待下个版本更新

Johnserf-Seed added a commit that referenced this issue Jan 14, 2023
Johnserf-Seed added a commit that referenced this issue Jan 14, 2023
 #281

不是最终更新版本,仅为最低可用版本。
Johnserf-Seed added a commit that referenced this issue Jan 14, 2023
…280 #281

不是最终更新版本,仅为最低可用版本。
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) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)
Projects
None yet
Development

No branches or pull requests

5 participants