Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aayushdutt/modrinth-collection-downloader

Script to download mods from a Modrinth Collection
https://github.com/aayushdutt/modrinth-collection-downloader

Last synced: about 1 month ago
JSON representation

Script to download mods from a Modrinth Collection

Awesome Lists containing this project

README

        

# Modrinth Collection Downloader

Script to download and update mods from a Modrinth Collection

## Requirements
- Python should be installed: https://www.python.org/downloads/
- (optional) `wget` or `curl`

## How to use

```sh
wget -qO- https://raw.githubusercontent.com/aayushdutt/modrinth-collection-downloader/master/main.py | python - -v -l -c
```

OR using `curl`

```sh
curl -sL https://raw.githubusercontent.com/aayushdutt/modrinth-collection-downloader/master/main.py | python - -v -l -c
```

OR copy the `main.py` file locally and run

```sh
python main.py -v -l -c
```

### Examples:

- `wget -qO- https://raw.githubusercontent.com/aayushdutt/modrinth-collection-downloader/master/main.py | python - -v 1.20.4 -l fabric -c 5OBQuutT`
- `wget -qO- https://raw.githubusercontent.com/aayushdutt/modrinth-collection-downloader/master/main.py | python - -v 1.20.4 -l fabric -c 5OBQuutT -d mymods -u`
- Saves the mods to mymods and updates existing ones to latest version

### Options:

```
-h, --help show this help message and exit
-c COLLECTION, --collection COLLECTION
ID of the collection to download. Can be obtained from the collection URL (for
https://modrinth.com/collection/5OBQuutT collection_id is 5OBQuutT).
-v VERSION, --version VERSION
Minecraft version ("1.20.4", "1.21").
-l LOADER, --loader LOADER
Loader to use ("fabric", "forge", "quilt" etc).
-d DIRECTORY, --directory DIRECTORY
Directory to download mods to. Default: "mods"
-u, --update Download and update existing mods. Default: false
```