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

Fix API response empty data #269 #274

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Evil0ctal
Copy link

  • 修改抖音单一作品的官方接口

- 我只是简单的修改了代码中的API链接以及JSON的索引
- 没有经过在本地测试,希望作者merge前先将代码复制到本地进行测试。
- 不确定此API是否能长期稳定请求
@pennzhang
Copy link

获取视频列表页url返回空,应该也变了

@Evil0ctal
Copy link
Author

Evil0ctal commented Dec 28, 2022

经过测试,目前为止依旧可用,无法复现你的问题。

还是你指的是用户主页的API?

@pennzhang
Copy link

Profile.py个人主页api,获取nickname逻辑之前的api请求,响应体为空,你那正常么?

@Evil0ctal
Copy link
Author

那个API已经被关闭了,你需要等作者更新才可以。

@pennzhang
Copy link

嗯 #272应该是提的这个问题

@Evil0ctal
Copy link
Author

嗯嗯,如果你着急需要用主页API的话,你可以看一下我的仓库。

@pennzhang
Copy link

好的,学习学习,感谢!

@speaker-lover
Copy link

刚刚按照您的修改,发现还是一样的错误,json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)。
是挂了吗?

@Evil0ctal
Copy link
Author

我只改了一个文件的index,其他的需要作者来改,要不然会出bug。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants