Vazkii / CMPDL

Curse Modpack Downloader
224 stars 58 forks source link

Error 403 when trying to download any modpack #26

Closed lordoflife closed 7 years ago

lordoflife commented 7 years ago

$ java -jar cmpdl-1.1.3.jar https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded

~ Starting magical modpack download sequence ~ Input URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded Input Version: latest File URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded/files/latest Final URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded/files/latest?cookieTest=1 Modpack filename is latest?cookieTest=1 CMPDL Temp Dir is /home/noctua/.cmpdl_temp Modpack temporary directory is /home/noctua/.cmpdl_temp/latest?cookieTest=1 Downloading zip file latest?cookieTest=1.zip Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 403 for URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded/files/latest?cookieTest=1 at vazkii.cmpdl.CMPDL.main(CMPDL.java:49) Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://mods.curse.com/modpacks/minecraft/244939-project-ozone-2-reloaded/files/latest?cookieTest=1 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at java.net.URL.openStream(URL.java:1045) at vazkii.cmpdl.CMPDL.downloadFileFromURL(CMPDL.java:369) at vazkii.cmpdl.CMPDL.setupModpackMetadata(CMPDL.java:167) at vazkii.cmpdl.CMPDL.downloadFromURL(CMPDL.java:99) at vazkii.cmpdl.CMPDL.main(CMPDL.java:47)