1
0
Fork 0
Some scripts to download some stuff you might want to download
Go to file
Conduitry 16d48852f1 refactor: look up fetch options per request 2022-06-13 19:08:48 -04:00
.eslintrc.cjs add ESLint config 2022-06-03 22:34:54 -04:00
.gitignore refactor: look up fetch options per request 2022-06-13 19:08:48 -04:00
LICENSE initial commit 2022-06-03 22:33:21 -04:00
README.md refactor: look up fetch options per request 2022-06-13 19:08:48 -04:00
_dl.js refactor: look up fetch options per request 2022-06-13 19:08:48 -04:00
dl-e621.js refactor: look up fetch options per request 2022-06-13 19:08:48 -04:00
dl-furrybooru.js refactor: look up fetch options per request 2022-06-13 19:08:48 -04:00
package-lock.json add ESLint config 2022-06-03 22:34:54 -04:00
package.json add ESLint config 2022-06-03 22:34:54 -04:00

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.

License

MIT