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

搜索增加按照热门度排序 #134

Closed
wants to merge 1 commit into from
Closed

搜索增加按照热门度排序 #134

wants to merge 1 commit into from

Conversation

Rorical
Copy link
Contributor

@Rorical Rorical commented Aug 30, 2020

刚充了premium就想试一下高级搜索,动手改了一点内容让这个库支持搜索结果按照热门度排序

(然鹅我发现没开premium的账号照样能用。。。pixiv坑

@Rorical Rorical closed this Aug 30, 2020
@upbit
Copy link
Owner

upbit commented Aug 31, 2020

我没有premium账号,可以试下 sort 传 popular(原search接口)。如果不行可以用mitmdump类工具,抓下你的请求,发下URL部分看看

popular-preview是预览,就是客户端上默认展示的那几张。没啥作用所以没加

@Rorical
Copy link
Contributor Author

Rorical commented Aug 31, 2020

现在才发现这个是预览(丢脸
已经知道了,热门排序是popular_desc

@upbit
Copy link
Owner

upbit commented Aug 31, 2020

如果可以话,帮忙提个MR把 popular_desc 备注上(包括API注释和README)
方便其他有premium账号的直接用

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.

2 participants