[danbooru] add authentication support (closes #151)

... via HTTP Basic Auth with username and "password".

The password value in this case is not the account password itself,
but the"api_key" found in your user profile.
This commit is contained in:
Mike Fährmann
2019-01-09 14:08:06 +01:00
parent 06cbf5f9c4
commit 1e4d351ad3
3 changed files with 20 additions and 2 deletions

View File

@@ -14,6 +14,11 @@
{
"external": false
},
"danbooru":
{
"username": null,
"password": null
},
"deviantart":
{
"refresh-token": null,
@@ -72,6 +77,11 @@
"password": null,
"ugoira": true
},
"reactor":
{
"wait-min": 3.0,
"wait-max": 6.0
},
"recursive":
{
"blacklist": ["directlink", "oauth", "recursive", "test"]