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]用户作品只有一页时,会进入死循环 #517

Closed
qingxuezhushang opened this issue Aug 17, 2023 · 1 comment
Closed

[BUG]用户作品只有一页时,会进入死循环 #517

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

Comments

@qingxuezhushang
Copy link

描述出现的错误
用户作品只有一页时,会进入死循环。
只有一页作品,self.has_more为0,但不为空

bug复现
测试uid:https://www.douyin.com/user/MS4wLjABAAAAWqKYet-t7TP1qAjQpeF8oCQ3H90dPCYk2JrEnteMNlY

截图
image

@qingxuezhushang qingxuezhushang added 故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies) labels Aug 17, 2023
@qingxuezhushang qingxuezhushang changed the title [BUG] [BUG]用户作品只有一页时,会进入死循环 Aug 17, 2023
@Johnserf-Seed
Copy link
Owner

是的,因为接口返回数量不是固定的 has_more=0的时候依然有作品 我考虑到了这一点但是此前代码这一环没测试出来。新的提交已经修复但未推送,我修复完几个issue一起推送。

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