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 1fca797207
retry requests returning 5xx after 5 seconds
2 weeks ago
.eslintrc.cjs add ESLint config 8 months ago
.gitignore move fetch options to [hostname].json 2 months ago
LICENSE initial commit 8 months ago
README.md move fetch options to [hostname].json 2 months ago
_booru.js factor out shared booru code 8 months ago
_shared.js retry requests returning 5xx after 5 seconds 2 weeks ago
aug-e621.js rework directory/query handling in aug-* 8 months ago
dl-e621.js avoid 3/10,000,000 event 2 months ago
dl-furrybooru.js factor out shared booru code 8 months ago
dl-rule34.js add dl-rule34 8 months ago
package-lock.json add ESLint config 8 months ago
package.json add ESLint config 8 months ago

README.md

dl-fur

[hostname].json fetch options

Each request will look for a corresponding [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

// 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