Vazkii / CMPDL

Curse Modpack Downloader
224 stars 58 forks source link

Gradle-ify the project, update used APIs make it work with the current CurseForge system #69

Open iTitus opened 4 years ago

iTitus commented 4 years ago

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.

stefnotch commented 4 years ago

@iTitus Could you build it and publish the jar in your fork?

iTitus commented 4 years ago

@stefnotch here you go https://github.com/iTitus/CMPDL/releases/tag/v1.3.0

stefnotch commented 4 years ago

Woah, that's the fastest positive response I've ever gotten to such a request! Thank you very much!