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

模组版本数与curseforge上的不一致 #5522

Open
1 task done
jocemod opened this issue Jan 26, 2025 · 12 comments
Open
1 task done

模组版本数与curseforge上的不一致 #5522

jocemod opened this issue Jan 26, 2025 · 12 comments
Labels
· Bug 处理中 开发者正在调查或处理该项 🟨 中 优先度:中

Comments

@jocemod
Copy link

jocemod commented Jan 26, 2025

检查项

描述

模组版本数与curseforge上的不一致

重现步骤

搜索模组"MixinBooter"
进入模组详细页面

日志与附件

Log3.txt
Log4.txt
Log5.txt
Log1.txt
Log2.txt

Image

@jocemod jocemod added · Bug 新提交 需要社区初步确认其有效的新提交 labels Jan 26, 2025
@HomoobyDX
Copy link

PCL默认会优先展示更新一点的版本

@3gf8jv4dv
Copy link
Collaborator

#776

不过我还是想问下 @LTCatt,现在 API 还有这种限制吗……?
毕竟 HMCL 是可以获取多个结果的。

@LTCatt
Copy link
Member

LTCatt commented Jan 26, 2025

我可以看看有没有其他 API 可以实现……?

@LTCatt LTCatt added 处理中 开发者正在调查或处理该项 🟨 中 优先度:中 and removed 新提交 需要社区初步确认其有效的新提交 labels Jan 26, 2025
@hejiehao
Copy link
Contributor

@LTCatt
Copy link
Member

LTCatt commented Jan 27, 2025

https://docs.curseforge.com/rest-api/#get-mod-files

Image

这个 API 一次只能加载 50 个版本,所以遇到 fabric API 之类版本非常多的需要加载数十次才能读取完。
除非筛选特定的 MC 版本,然后单独加载……

@jocemod
Copy link
Author

jocemod commented Jan 27, 2025

像fabric api这种的要访问18次才能完整出结果
好像也不是不能接受
Image

@LTCatt
Copy link
Member

LTCatt commented Jan 27, 2025

18 次包不能接受的……

@z0z0r4
Copy link

z0z0r4 commented Feb 4, 2025

HMCL 也是这个接口,未曾发现还有其他公开 API

但如果接口调用方式没问题不应该会少版本才对,这里面有点蹊跷吧…

@jocemod
Copy link
Author

jocemod commented Feb 4, 2025

deepseek说hmcl是多次访问api,
然后那种点击加载更多数据(或像搜索页面那样翻也)可不可行?

@HomoobyDX
Copy link

怎么还有ai的

@z0z0r4
Copy link

z0z0r4 commented Feb 4, 2025

deepseek说hmcl是多次访问api,
然后那种点击加载更多数据(或像搜索页面那样翻也)可不可行?

翻页设计不使用于当前一次性加载所有版本后按游戏版本分类的逻辑

@jocemod
Copy link
Author

jocemod commented Feb 4, 2025

好吧,但点击加载更多有戏,如:点版本是访问一次api,如果不够在让用户点击加载更多

Image

即使是工业2这种一个版本百来多文件的也只用访问5次就能出全部结果(一般不会一次看好几个版本吧)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
· Bug 处理中 开发者正在调查或处理该项 🟨 中 优先度:中
Projects
None yet
Development

No branches or pull requests

6 participants