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

批量更新收视进度无法更新sp集数进度并且会导致用户当前进度丢失 #32

Closed
edwardez opened this issue May 26, 2018 · 0 comments

Comments

@edwardez
Copy link

edwardez commented May 26, 2018

POST /subject/32585/update/watched_eps HTTP/1.1
Host: api.bgm.tv
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer token
Cache-Control: no-cache
watched_eps=-1

会清空当前所有进度,感觉应该在文档里提一下

https://bgm.tv/ep/606388 是一集sp,其sort=1921.5,但是同时本篇有2000+集,这时候如果post watched_eps=1921.5会发生的事情是本篇进度更新到1921集,同时sp进度不更新。
即使设置本篇进度到一个比1921.5大的数字,比如1999,依然不会更新1921.5的进度。

同时,批量更新会导致当前用户的收视进度消失,比如用户标注sort=2000为看过,如果使用post watched_eps=1999更新进度,sort=2000的收视进度会消失

另外的一个问题是,/subject/32585/ep 只会返回前1000集本篇的数据

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

No branches or pull requests

2 participants