class TikToker::CLI
- TikToker::CLI
- Reference
- Object
Defined in:
cli.crcli/command.cr
cli/command/download_batch.cr
cli/command/download_user.cr
cli/command/find_user.cr
cli/command/search_user.cr
cli/support/file_processor.cr
cli/support/inline_table.cr
Constant Summary
-
BANNER =
"Usage: tiktoker [command] [args]\n\nCommand line client for TikTok.\n\nCommands:\n user [username]\n Find a user by username. E.g. `tiktoker user charlidamelio`.\n\n search user [criteria]\n Search user by criteria. E.g. `tiktoker search user charlidamelio`.\n\n download user [username or SecUID]\n Download videos published by the given user.\n It's strongly recommended to use SecUIDs instead of usernames.\n\n download batch [file]\n File containing users to download, one identifier per line.\n Empty lines or lines starting with '#' are considered as comments and\n ignored.\n\nFlags:\n -s, --signature-server-url [url]\n External signature server used to sign TikTok API requests.\n By default, the signature server is expected to be listening locally\n on port 3000.\n\n --fast-update\n Stop when encountering the first already-downloaded video.\n This flag is recommended when you use TikToker to update your personal\n archive.\n\n -u, --session-id [id]\n Used to authenticate with TikTok API. Useful to browse and download\n private profiles.\n\n --retry-attempts [attempts; default: 10]\n Maximum number of retry attempts until a request is aborted.\n\n --connect-timeout [seconds; default: 5]\n Timeout waiting for TikTok server connection to open in seconds.\n\n --write-timeout [seconds; default: 5]\n Timeout when waiting for TikTok server to receive data.\n\n --read-timeout [seconds; default: 60]\n Timeout when waiting for TikTok server to return data.\n\n --verbose\n Print debug information for each operation. Not compatible with quiet.\n\n --quiet\n Do not produce any output. This makes TikToker suitable as a cron job.\n\n --proxy-host [host]\n --proxy-port [port]\n --proxy-user [user]\n --proxy-pass [pass]\n\nExamples:\n tiktoker user charlidamelio\n tiktoker search user charlie\n tiktoker download user charlidamelio dixiedamelio willsmith\n tiktoker download batch file.txt --fast-update\n\n"
-
BLANK =
""