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 sync --group dev

Pylint:

uv run 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.0b50.tar.gz (36.6 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.0b50-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rcdl-3.0.0b50.tar.gz
  • Upload date:
  • Size: 36.6 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.0b50.tar.gz
Algorithm Hash digest
SHA256 6e65c92db4b3ceb903e7924a5167dd8873efd2c35606b64698a77e1dba9d89df
MD5 7d015740e2e16015f4e1b17536573aaf
BLAKE2b-256 1b907652deebcf227e04d40d0bc692cb2a703dc048de04c89e40427c86a23796

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rcdl-3.0.0b50-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.0b50-py3-none-any.whl
Algorithm Hash digest
SHA256 9634620c728c3ca03833aecccbcabd6b6801303e95bb6c466f81becca89d78d8
MD5 f6be1feedc8d4224a7ce64d6134db930
BLAKE2b-256 72981e20e0722b4cbc5d1e90bc411ed1665fcbbea54206dbabe782de7f745b3e

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