Skip to content
douyin

Configuration

Global flags and the data directory.

douyin needs almost no configuration. There is no account, no API key, and no required environment variable. The settings that exist are the kit global flags, which apply to every command.

Request behavior

Flag Meaning
--rate Minimum delay between requests (e.g. --rate 1s)
--timeout Per-request timeout
--retries Retry attempts on rate limit or 5xx
--user-agent Override the User-Agent sent with each request

By default douyin sets a desktop Chrome User-Agent, paces requests, and retries transient 429 and 5xx failures. Raise --rate if you start hitting a hard rate limit.

Output

Flag Meaning
-o, --output Output format (see output formats)
--fields Comma-separated columns to show
--no-header Omit the header row
--template Go text/template applied per record
-n, --limit Stop after N records
-q, --quiet Suppress progress output
--color Color: auto, always, or never

State and caching

Flag Meaning
--data-dir Override the data directory
--no-cache Bypass on-disk caches
--profile Named profile to load
--db Tee every record into a store (e.g. out.db, postgres://...)
--dry-run Print actions, do not perform them

Environment variables

None are required. douyin reads no credential or token from the environment. The signed surfaces are gated at the IP and region layer, not by a secret the client could carry, so there is nothing to configure to open them. See troubleshooting for the anti-bot picture.