Download soundtracks from downloads.khinsider.com with a useful and quick CLI
Project description
KHIDL
NOTE: THIS PROJECT IS NOT AFFILIATED WITH KHINSIDER.
Download soundtracks from KHInsider with a simple CLI.
Installing
Download the latest version from PyPi using pip with the following command.
pip install khinsider-dl
You can also download the .whl file from the github releases here
and install it with pip install.
Usage
Download
khidl download [soundtrack id/url]
This command will download the specified soundtrack to a named directory in the current working directory.
khidl download minecraft output --format flac --no-images
This command will download the minecraft soundtrack to a directory called output. If the second positional command is left empty it will download the soundtrack to a new directory named after the requested soundtrack.
The --format flag can be used to specify the requested music format.
It is constrained to mp3, flac and m4a.
If a soundtrack is unavailable in the requested format,
the program will stop and notify the user.
the --no-images argument makes sure khidl doesn't download images
belonging to the soundtrack.
For more detail please read the help page:
khidl download -h
Search
khidl search [query]
This command will query the KHInsider database for soundtracks containing the query. Afterwards it will print the result to the terminal in a pretty table.
khidl search lonely rolling star --song
This command will search the database for songs with the query 'lonely rolling star'. Afterwards it will return all soundtracks with a song that features the query.
khidl search returns the name and ID of the soundtrack,
as well as the year of release.
You need to pass the ID into the download function
to download the ost.
Note that searcing for a specific song is considerably slower, it can take about 10 seconds to show data.
Batch
To create the default configuration, run
khidl batch --init
This creats a soundtrack.json. In this file,
you can specify multiple soundtracks to be downloaded.
For each soundtrack you can set the requested download format
(either mp3, flac or m4a).
The example showcases all options and ways to configure it. There is a JSON schema included, please use it, as it will warn you before running the script if you have made an error.
Special thanks
Special thanks to KHInsider for the incredible database.
Special thanks to obskyr's khinsider.py project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file khinsider_dl-1.2.3-py3-none-any.whl.
File metadata
- Download URL: khinsider_dl-1.2.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d14322f86fcff3292b1db54bd462c15035b66f329b2a6a01b69967b4cf86ca7
|
|
| MD5 |
04e968d71019834c0cbbf4319ea39d3a
|
|
| BLAKE2b-256 |
33664456be4c20bc1b38614fe43436e050eb63c1fe90100202450795ecd6d7dc
|
Provenance
The following attestation bundles were made for khinsider_dl-1.2.3-py3-none-any.whl:
Publisher:
python-publish.yml on qwerinope/khidl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
khinsider_dl-1.2.3-py3-none-any.whl -
Subject digest:
3d14322f86fcff3292b1db54bd462c15035b66f329b2a6a01b69967b4cf86ca7 - Sigstore transparency entry: 192818495
- Sigstore integration time:
-
Permalink:
qwerinope/khidl@b8ca7e902d63dc617cdf3b5196246d66a5f114d3 -
Branch / Tag:
refs/tags/v1.2.3 - Owner: https://github.com/qwerinope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b8ca7e902d63dc617cdf3b5196246d66a5f114d3 -
Trigger Event:
release
-
Statement type: