A set of scripts for creating a local kitsunekko mirror.
Project description
kitsunekko-tools
A set of scripts for creating a local kitsunekko mirror.
The main benefit of having all subtitles saved locally is that you can browse them using lf and quickly search with fzf.
Install
pipx install kitsunekko-tools
Configure
Run this command to create the config file.
ktools config create
Edit the config file.
destination
- the local folder where the files should be downloaded.proxy
- Your proxy settings. Set to""
(empty string) if you don't use proxies. By default, it is set to the default Tor address.
Everything else usually doesn't need to be changed.
Usage
[!TIP] Clone kitsunekko-mirror before downloading from kitsunekko directly.
The first time, run full sync. It will download everything.
ktools sync --full
Run sync. If you already have downloaded everything once, this command will skip files that have not been modified recently.
ktools sync
The skip_older
config parameter controls what files should be skipped during regular runs.
Upload your mirror to Mega
Ignoring certain files
To prevent some files from being downloaded (because they are too big, broken, etc.),
Create a file named .kitsuignore
in the root of destination
and fill it with paths relative to destination
.
Help
Run ktools --help
to print a help page.
Environment variables
KITSU_API_KEY
- overwrite api_key in the config.KITSU_API_URL
- overwrite api_url in the config.
Kitsunekko mirror
kitsunekko-mirror is a git repository with Japanese anime subtitles.
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 Distribution
Built Distribution
Hashes for kitsunekko_tools-24.5.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89e206263ca29ac66d12d7d46761ceda31ecf30d16947f158979bb17fbb3885c |
|
MD5 | a2796924d3ffeb4987f82a2486f053bf |
|
BLAKE2b-256 | bc46aa7cd8aca53ed2ad4d98b1e2ff11c521120723001b25822d05a4c46ff54f |
Hashes for kitsunekko_tools-24.5.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 888253adf5346fdd47028219cfc2e5f70588b2cc3e0dd84f0c9c948c99f72c16 |
|
MD5 | 021ce6df68e378b7187d54601d8927b9 |
|
BLAKE2b-256 | 3954483bf4ce32a293e9bf676a6be26aaf70d1c0053d7c29a666afab4510e803 |