|
||
---|---|---|
.eslintrc.cjs | ||
.gitignore | ||
LICENSE | ||
README.md | ||
_dl.js | ||
dl-e621.js | ||
dl-furrybooru.js | ||
package-lock.json | ||
package.json |
README.md
dl-fur
fetch-options.*.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 FurryBooru, you can create
// fetch-options.furry.booru.org.json
{
"headers": {
"cookie": "cf_clearance=whatever",
"user-agent": "whatever"
}
}
and this cookie and user-agent will be used for API calls and for downloading the images.