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] #317

Closed
zzylmt opened this issue Feb 11, 2023 · 2 comments
Closed

运行似乎不稳定[BUG] #317

zzylmt opened this issue Feb 11, 2023 · 2 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 Feb 11, 2023

[ 错误 ]:Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "c:\Users\DELL\Desktop\TikTokDownload\TikTokDownload.py", line 152, in
video_download(url, music, name)
File "c:\Users\DELL\Desktop\TikTokDownload\TikTokDownload.py", line 122, in video_download
jx_url = Util.Urls().POST_DETAIL + Util.XBogus(
^^^^^^^^^^^^
File "c:\Users\DELL\Desktop\TikTokDownload\Util\XB.py", line 30, in init
self.getXbogus(url)
File "c:\Users\DELL\Desktop\TikTokDownload\Util\XB.py", line 50, in getXbogus
self.params = response["result"][0]["paramsencode"]
^^^^^^^^
UnboundLocalError: cannot access local variable 'response' where it is not associated with a value

最新版运行有时会报以上错误。似乎是随机出现。当我不做任何修改,关闭IDE,重新运行,又可以正常下载。
难道是网络获取某些参数时会有缺失?

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

服务器阈值是20并发,可能某些时间段比较拥挤

@Johnserf-Seed
Copy link
Owner

image
现在调节了

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

2 participants