.. | ||
e621.net.json | ||
README.md |
fetch_options/[hostname].json
Each request will look for a corresponding fetch_options/[hostname].json
and, if present, will use it as the second argument in all fetch
calls.
For example, if you have a cf_clearance
cookie for the Cloudflare protection in front of a given site, you can create fetch_options/example.com.json
{ "headers": { "cookie": "cf_clearance=whatever", "user-agent": "whatever" } }
and this cookie and user-agent will be used for network calls to example.com
. Note that these will not automatically apply to subdomains.