TikToker::Configuration
Inherits Reference / Object
Constants
Instance methods
Timeout waiting for TikTok server connection to open in seconds.
TikTok device id. Keep in mind that this token is supposed to be long-lived and consistent between requests.
TikToker::Util.generate_did # => 3745502480601580487
TikTok device id. Keep in mind that this token is supposed to be long-lived and consistent between requests.
TikToker::Util.generate_did # => 3745502480601580487
Stop when encountering the first already-downloaded video. This flag is recommended when you use TikToker to update your personal archive.
Stop when encountering the first already-downloaded video. This flag is recommended when you use TikToker to update your personal archive.
User agent used by TikToker when there is no need to disguise itself, e.g. in requests with an external signature server.
User agent used by TikToker when there is no need to disguise itself, e.g. in requests with an external signature server.
Changes the log severity to Log::Severity::Error if set to true.
config.quiet = true
Maximum number of retry attempts until a request is aborted. When using TikTok as a library, you might want to set it to zero.
Maximum number of retry attempts until a request is aborted. When using TikTok as a library, you might want to set it to zero.
Used to authenticate with TikTok API. Useful to browse and download private profiles.
Used to authenticate with TikTok API. Useful to browse and download private profiles.
Seconds to wait before timing out a connection request with an external signature server.
Seconds to wait before timing out a connection request with an external signature server.
External signature server used to sign TikTok API requests. By default, the signature server is expected to be listening locally port 3000.
External signature server used to sign TikTok API requests. By default, the signature server is expected to be listening locally port 3000.
Configuration for TikToker.
config = TikToker::Configuration.new
config.with do |config|
config.signature_server_url = "https://signature.server"
end