Skip to content

Command Line Options

This page lists all available command line options for Kemono Scraper.

OptionAliasDescriptionDefault
--config-cPath to config file-
--service-sService to scrape from-
--userId-uUser ID to scrape-
--host-hBase hostkemono.cr
--outputDir-oOutput directorydownloads-%username%
--maxPosts-mMax posts to fetch5000
--maxConcurrentDownloads-dConcurrent downloads2
--helpShow help-
--versionShow version-
  • scrape (default): Download content from Kemono/Coomer (all options in the table above).
  • compress: Compress media in downloads-* folders using JPEG XL and AV1.
OptionDescriptionDefaultEnv Var
--jpegXlQualityJPEG XL quality (1-100)90JPEG_XL_QUALITY
--jpegXlEffortJPEG XL effort (1-9)5JPEG_XL_EFFORT
--av1CrfAV1 CRF (lower = higher quality)30AV1_CRF
--av1PresetAV1 preset (0-13, lower = slower)6AV1_PRESET
--keepOriginals / --no-keepOriginalsKeep originals after compressiontrueKEEP_ORIGINALS
--dryRunShow actions without modifying filesfalse-

Path to a YAML configuration file.

Terminal window
./kemono-scraper --config config.yaml
./kemono-scraper -c ./my-config.yaml

When using a config file, --service and --userId are not needed.


The platform to download from. Required unless using --config.

Available services:

For KemonoFor Coomer
patreononlyfans
fanboxfansly
fantiacandfans
gumroad
subscribestar
dlsite
discord
afdian
boosty
Terminal window
./kemono-scraper -s patreon -u 12345678
./kemono-scraper -s onlyfans -u username --host coomer.st

The creator’s ID or username. Required unless using --config.

Terminal window
# Numeric ID
./kemono-scraper -s patreon -u 12345678
# Username
./kemono-scraper -s onlyfans -u belledelphine --host coomer.st

The base website to scrape from.

Available hosts:

HostUse For
kemono.crPatreon, Fanbox, Fantia, etc. (default)
kemono.suBackup Kemono domain
coomer.stOnlyFans, Fansly, Candfans
coomer.suBackup Coomer domain
Terminal window
# Use Coomer for OnlyFans
./kemono-scraper -s onlyfans -u username --host coomer.st
# Use backup Kemono domain
./kemono-scraper -s patreon -u 12345678 --host kemono.su

Where to save downloaded files.

The special string %username% is replaced with the user ID.

Default: downloads-%username%

Terminal window
# Custom folder
./kemono-scraper -s patreon -u 12345678 -o ./my-downloads
# Custom folder with username
./kemono-scraper -s patreon -u 12345678 -o ./patreon/%username%

Maximum number of posts to fetch.

Default: 5000

Terminal window
# Only download from last 100 posts
./kemono-scraper -s patreon -u 12345678 --maxPosts 100
# Download everything (no limit)
./kemono-scraper -s patreon -u 12345678 --maxPosts 0

How many files to download simultaneously.

Default: 2
Range: 1 to 10

Terminal window
# Download 4 files at once
./kemono-scraper -s patreon -u 12345678 -d 4
# Download one at a time (slower but gentler on servers)
./kemono-scraper -s patreon -u 12345678 -d 1

Show help information with all options.

Terminal window
./kemono-scraper --help

Show the version number.

Terminal window
./kemono-scraper --version

Specify everything on the command line:

Terminal window
./kemono-scraper -s patreon -u 12345678 -o ./downloads -m 500

Use a YAML config file:

Terminal window
./kemono-scraper -c config.yaml

Config file options can be combined with CLI arguments, but you generally use one or the other.

Enable verbose proxy logging:

Terminal window
DEBUG_PROXY=1 ./kemono-scraper -c config.yaml
CodeMeaning
0Success
1Error (check console output)
Terminal window
./kemono-scraper -s patreon -u 30037948
Terminal window
./kemono-scraper -s onlyfans -u belledelphine -h coomer.st
Terminal window
./kemono-scraper -s fanbox -u creator -o ./fanbox -m 50
Terminal window
./kemono-scraper -c my-config.yaml
Terminal window
./kemono-scraper --help