Skip to content

configuration

stefano edited this page Nov 27, 2025 · 1 revision

configuring the bot is extremeley easy thanks to the private/config.yaml, that allows you to customize the behavior of each extractor.

Note

this configuration will override the global .env configuration. this is useful in case you want to set a global proxy and then override it for specific extractors.

structure

the file uses yaml format. each top-level key is the name of an extractor. under each extractor, you can define options supported by that extractor, for example:

instagram:
  edge_proxy: https://example.com
  impersonate: true
  disabled: true

reddit:
  proxy: https://example.com
  download_proxy: https://example2.com

available options

option type description
proxy string the http(s)/socks5 proxy to use for this extractor
download_proxy string the http(s)/socks5 proxy to use for downloading media. if not set, the proxy option will be used
edge_proxy string the edge proxy to use for this extractor. see the edge proxy page for more information
impersonate bool whether to impersonate chrome. useful for extractors that require specific browser fingerprints to work
disabled bool set to true to disable the extractor
instance []string the instances to use for this extractor. useful for extractors that support multiple instances (e.g. invidious for youtube)
ignore_regex []string a list of regex patterns to ignore urls that match them. useful if you want to partially disable an extractor for specific urls

authentication

some extractors require or benefit from authentication through cookies. see the authentication page for more information.

Clone this wiki locally