Coder Social home page Coder Social logo

Comments (5)

LTCatt avatar LTCatt commented on May 18, 2024

这个没法通过 API 获取,可能得当 Bug 写例外项,有空再看看

from pcl2.

zkitefly avatar zkitefly commented on May 18, 2024

或许可以通过爬取 Optifine 网页上的 colForge 标签,来获取列表QWQ。

可以在服务器上定时爬取,然后放到服务器上让 PCL2 来更新

毕竟 PCL2 目前也不是通过爬取 MCMOD 网站来获得中文翻译的吗QWQ

image

或者

可以爬取

optifine.cn 的更新信息页面

先访问 https://optifine.cn/?changelog=<Optifine下载包名>

如:https://optifine.cn/?changelog=OptiFine_1.15.2_HD_U_G6.jar

然后寻找关键字 compatible with Forge XXXXXX

image

from pcl2.

LTCatt avatar LTCatt commented on May 18, 2024

目前 OptiFine 列表获取都是以 BMCLAPI 为主(PCL 会先从 BMCLAPI 获取,如果失败再切换成官方源),但是 BMCLAPI 现在没有这个字段。如果要强行从官方源获取这个字段,会导致镜像源实质上失去了意义……
我先联系一下 bangbang,看他打不打算加上这个字段,不加那我也暂时不做 =。=

from pcl2.

LTCatt avatar LTCatt commented on May 18, 2024

还在等 @bangbang93 加这个字段……
我现在只能加个临时的缓解措施……我是指支持这个崩溃的分析 Orz……
image

from pcl2.

bangbang93 avatar bangbang93 commented on May 18, 2024

加了,BMCLAPI源已生效,mcbbs源需要等明日同步及CDN刷新生效
这字段不好格式化,所以就原样string放出来了

from pcl2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.