pistolrcks / curseforge-mass-downloader Goto Github PK
View Code? Open in Web Editor NEWA Python script to download Minecraft mods from the CurseForge website using the CurseProxy API
License: MIT License
A Python script to download Minecraft mods from the CurseForge website using the CurseProxy API
License: MIT License
Getting Forge version fabric-0.11.6...
Forge version fabric-0.11.6 downloaded!
Starting download of mods...
[1/129] Getting mod download link for mod YUNG's API (Fabric) (ID: 421649)...
[1/129] Found latest mod version for mod YUNG's API (Fabric) (ID: 421649)!
[1/129] Starting download of mod YUNG's API (Fabric) (ID: 421649)...
Traceback (most recent call last):
File "C:\Users\9400f1660s\Desktop\curseforge-mass-downloader-master\main.py", line 85, in
with open("mods/" + latestVersion["fileName"], "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'mods/YungsApi-1.17-Fabric-13.jar'
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\Users\user\Desktop\curseforge-mass-downloader-master\main.py", line 74, in
data = json.loads(rq.get(f"https://curse.nikky.moe/api/addon/{id}").content) # Put the request's data into a Python-readable format
File "C:\Users\user\AppData\Roaming\Applications\VS22\Shared\Python39_64\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\user\AppData\Roaming\Applications\VS22\Shared\Python39_64\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\user\AppData\Roaming\Applications\VS22\Shared\Python39_64\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Need to download latest version of mod but not the last on the list but the first.
Can you, please, advice me how do i need to change main.py to get the result I want?
hello there. is there a way to to look at each mods page or file, and convert it to the latest minecraft forge supported version, such as 12.2 >| 16.2 > /mods/{mods here}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.