1.1 KiB
1.1 KiB
configuration
the ext-cfg.yaml
file allows you to set custom options for each extractor. this is useful for advanced configuration of the bot, mostly related to network settings.
Note
this configuration will override the global configuration. this is useful in case you want to set a global proxy in the
.env
file and then override it for specific extractors in theext-cfg.yaml
file.
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_url: https://example.com
impersonate: true
available options
http_proxy
|https_proxy
: the http(s) proxy to use for this extractor. see proxying for more information.no_proxy
: the domains that should not be proxied for this extractor.edge_proxy_url
: the url of the edge proxy to use for this extractor. see edge proxy for more information.impersonate
: whether to impersonate chrome. this is useful for extractors that require specific browsers' fingerprints to work.