You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Conduitry b3aafd4cc4 remove ExperimentalWarning suppression 2 weeks ago
.eslintrc.cjs add ESLint config 6 months ago
.gitignore refactor: look up fetch options per request 6 months ago
LICENSE initial commit 6 months ago
README.md refactor: look up fetch options per request 6 months ago
_booru.js factor out shared booru code 5 months ago
_shared.js remove ExperimentalWarning suppression 2 weeks ago
aug-e621.js rework directory/query handling in aug-* 6 months ago
dl-e621.js dl-e621: support downloading posts by ID or MD5 6 months ago
dl-furrybooru.js factor out shared booru code 5 months ago
dl-rule34.js add dl-rule34 5 months ago
package-lock.json add ESLint config 6 months ago
package.json add ESLint config 6 months ago

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