DMOJ Downloader
What is this for?
DMOJ lets you download the code for all your solutions, however the files are just named as numbers. This tool renames your files to the problem names, and groups them into folders.
Want to use this project?
-
Download your submissions from DMOJ
- Go to https://dmoj.ca/data/prepare/
- Check "Download submissions" and make sure to filter by AC
- Click "Prepare new download", then "Download data"
-
Setup this project on your computer
- Clone with
$ git clone https://github.com/evanwild/dmoj-downloader.git
- Setup a virtual environment (Commands differ by operating system)
$ cd dmoj-downloader $ python -m venv env $ env\Scripts\Activate (env)$ pip install -r requirements.txt
- Clone with
-
Run download.py (You must specify the path to your submissions folder)
(env)$ python downloader.py C:\Users\Evan\Downloads\submissions