No description
| changelog.md | ||
| main.py | ||
| README.md | ||
Implemented:
- WiP
Needs Testing:
-h/--help- query modinfo of url (
-nu URL) - save list of mods to file as text (URL or mod IDs) or JSON (modinfo)
- load from text file of URLs or mod IDs (URL and mod IDs)
- load from JSON (modinfo)
Mod API Properties
mod
modidormodidstr: used to fetch a mod via API v1modidstrs[0]: presumably a list of allmodidstrs within a mod's modinfo.json files (found on/api/mods)assetid: used for URI to mod page e.g./show/mod/<assetid>(prefered for consistent URL normalization)side: to filter client-only mods away from server/both
releases
mainfile: direct link to download zip filefilename: the filename that should be used for the downloaded filemodidstr: the unique modid string identifer for the particular release (typically the same for each release)fileid: optional for old download url e.g./download?fileid=<fileid>(now redirects)
TODO
- Implement basic logging.
- Handle debug better.
- Convert inappropriate print lines to debug/logging.
- Game Version fallback options when filtering mods by game version.
- Still needs a big of error handling (try-except).