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.0b49.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.0b49-py3-none-any.whl (46.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rcdl-3.0.0b49.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.0b49.tar.gz
Algorithm Hash digest
SHA256 58c4388f01b9c55a43bced28d74f07015edb9db24b9af13ad1942549ab5e636d
MD5 fa493977ae8fa2fe1e161d58fff6e48c
BLAKE2b-256 3b3b56006fb8717e9eeeb12d873d3c0f23d29d34c834b2fa1cdb7fe55821e637

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rcdl-3.0.0b49-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.0b49-py3-none-any.whl
Algorithm Hash digest
SHA256 293183b1de9b51371a4df2f24ba060220260c6fad5ced1a7aa726d8e0315e032
MD5 c5eaa84a75f8fb482793be939deddb04
BLAKE2b-256 12008e43eaf080d1ffc2077a71bdb2efdf4a52effcf91436e8b97753049b3933

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