Skip to main content

Coomer/Kemono CLI Downloader

Project description

RCDL

Riton Coomer Download Manager
rcdl is a tool to automatically download the videos of your favorites creators from coomer.st and kemono.cr

Install

Dependencies

pipx install yt-dlp
sudo apt update
sudo apt install aria2 ffmpeg handbrake-cli -y

Install RCDL

It is recommended to use pipx to install rcdl

pipx install rcdl   # recommended method
pip install rcdl    # alternative

How to use

Run the CLI with:

rcdl --help

The first run will prompt you to enter the path you want rcdl to live in. Cache, configuration and log file will be in a hidden .cache/ folder.

Main function:

rcdl refresh         # look creators.json and find all possible videos
    --max-fail-count # Set maximum number of failed attempt before skipping entirely the refresh
rcdl dlsf            # download all found videos
    --max-fail-count # Set maximum number of failed attempt before skipping entirely the refresh
rcdl discover        # Discover new creator (WIP)
    --tag            # tag to be searched for
    --max-page       # number of page to search for (default: 10)
rcdl opti            # Optimized video to reduce disk storage usage
rcdl fuse            # Fuse all videos within a same post if they are fully downloaded

Manage creators:

rcdl list                       # list all current creators
rcdl add [URL]                  # add a new creator with an url
rcdl add [service]/[creator_id] # add a new creator with service/creator_id
rcdl remove [creator_id]        # remove creator with a creator_id

Helper function:

rcdl status          # give number of entry in the database per tables and status
rcdl repair          # repair database to match database state to the system file state
rcdl clean --all     # remove all partially downloaded file, external dependencies cache, etc...
    --partial        # remove partially downloaded file
    --cache          # remove aria2 and yt-dlp cache
    --medias-deleted # delete all media set to DELETED in db
    --all            # set all above flags to true
rcdl show-config     # print all config var and theirs value (paths, etc...)

Other:

rcdl --version      # see version of program
rcdl --debug [CMD]  # run in debug mode; Only for dev

Settings

Default settings file:

[app]
default_max_page = 10
max_fail_count = 7
timeout = 10

[fuse]
max_width = 1920
max_height = 1080
fps = 30
preset = "veryfast"
threads = 0

[paths]
handbrake_run_cmd = "HandBrakeCLI"

In rcdl/.cache/config.toml:

[paths]
handbrake_run_cmd = "HandBrakeCLI"  # if installed via apt
handbrake_run_cmd = "flatpak run --command=HandBrakeCLI fr.handbrake.ghb"   # if installed via flatpak

Dev

Install

git clone https://github.com/ritonun/cdl.git rcdl
cd rcdl
uv run rcdl

Install dev depencies:

uv add build twine pylint pdoc

Deploy

python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine

Pylint

pylint --recursive=y rcdl/ > pylint.txt

Major Version History

v3

  • opti, status, clean, repair command & multiple --options flag
  • GUI
  • Major DB improvements
  • Config files
  • First run bootstrap

v2

  • UI update
  • DB impromevent
  • creator, fuse command

v1

  • First release of the project, prototype

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

rcdl-3.0.0b47.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rcdl-3.0.0b47-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

Details for the file rcdl-3.0.0b47.tar.gz.

File metadata

  • Download URL: rcdl-3.0.0b47.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for rcdl-3.0.0b47.tar.gz
Algorithm Hash digest
SHA256 40bc7eafbfc1ae741f7af557657cd086190ccc4f691aa51d3e74fd4bd5ddc8dc
MD5 4a8cfd6a3a466490e8e749861954ef94
BLAKE2b-256 d270ed17260b8b39189349dac57bf464f4469aa3579bb3c9172850384315d1f3

See more details on using hashes here.

File details

Details for the file rcdl-3.0.0b47-py3-none-any.whl.

File metadata

  • Download URL: rcdl-3.0.0b47-py3-none-any.whl
  • Upload date:
  • Size: 46.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for rcdl-3.0.0b47-py3-none-any.whl
Algorithm Hash digest
SHA256 225c97035ab91416f903920101480d411de50493324fc11809fa2a1ebd720868
MD5 6c29043a6aecd55235bdd4649a826d63
BLAKE2b-256 1ead5b70c1cc6d9b185f274405e44df02ccc21e46782e81d811f0a62a1f58176

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page