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 5e5b2fca96 simplify output for non-TTY 3 months ago
.eslintrc.cjs add ESLint config 4 months ago
.gitignore refactor: look up fetch options per request 4 months ago
LICENSE initial commit 4 months ago
README.md refactor: look up fetch options per request 4 months ago
_booru.js factor out shared booru code 3 months ago
_shared.js simplify output for non-TTY 3 months ago
aug-e621.js rework directory/query handling in aug-* 3 months ago
dl-e621.js dl-e621: support downloading posts by ID or MD5 3 months ago
dl-furrybooru.js factor out shared booru code 3 months ago
dl-rule34.js add dl-rule34 3 months ago
package-lock.json add ESLint config 4 months ago
package.json add ESLint config 4 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