Script for downloading game soundtracks from KHInsider.
For downloading single albums:
./khdl <url> # If you downloaded an executable from releasesor
python -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
python downloader.py <url>If downloading multiple albums, create an input.txt inside the current working directory, placing the albums' urls separated by a newline, and run the program without arguments.
Copy or rename config.sample.ini to config.ini in the current working directory and modify the parameters.
[general]
; images (boolean): Whether to download images [True/False]
images = True
; hq (boolean): download other formats if available, e.g. FLAC, OGG
; will download mp3 if not available [True/False]
hq = True
; downloadlocation (string): relative or absolute path
downloadlocation = ./downloadsIf no config.ini is found, images and mp3 are downloaded by default.
Standalone executables are built using Nuitka.
pip install nuitka ordered-set zstandard
python -m nuitka --onefile downloader.py
Just donate to KHInsider if you can.