CMPDL
CMPDL copied to clipboard
Gradle-ify the project, update used APIs make it work with the current CurseForge system
I did this in my fork for myself, but I figured you could use the general idea.
The new link is:
https://addons-ecs.forgesvc.net/api/v2/addon/<project id>/file/<file id>
If you want modpack data just set the project id to 0.
This returns JSON data, to get the real download url you can either parse the JSON or access /download-url
on that resource.
The returned URL can be used to GET
the required file.
@iTitus Could you build it and publish the jar in your fork?
@stefnotch here you go https://github.com/iTitus/CMPDL/releases/tag/v1.3.0
Woah, that's the fastest positive response I've ever gotten to such a request! Thank you very much!