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

Install RCDL

It is recommended to use pipx to install rcdl

pipx install rcdl

or else:

pip install rcdl

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
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Install dev depencies:

pip install build twine pylint pdoc

Deploy

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

Pylint

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

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.0b46.tar.gz (32.3 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.0b46-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rcdl-3.0.0b46.tar.gz
  • Upload date:
  • Size: 32.3 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.0b46.tar.gz
Algorithm Hash digest
SHA256 79fb376a7485c9de653a76297f251762fe77f649a026be053f75e8195e125fa0
MD5 e8397202fc0593112f98611da7a9895f
BLAKE2b-256 727a849bbe58227452130bf41d2618a99563b45bc37c2974c0c460f5e9a1dd99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rcdl-3.0.0b46-py3-none-any.whl
  • Upload date:
  • Size: 40.2 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.0b46-py3-none-any.whl
Algorithm Hash digest
SHA256 ca8dde8bc84d24065061989543df08df9c65a5528ca3f914e34fb17d431112ca
MD5 3cbe11e205e20cb57b55ff2c6bf69068
BLAKE2b-256 20f80d9b7b6b31cf2a346226c6da07ba1cd5b8a98b991b1a6c6014aad379d2f6

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