[gelbooru] support authentication to enable api access

This commit is contained in:
Mike Fährmann
2015-11-06 14:14:29 +01:00
parent 8469b3ae4f
commit c05dbd15b5
2 changed files with 10 additions and 1 deletions

View File

@@ -33,7 +33,12 @@
"gelbooru":
{
"pattern": ["g(?:elbooru)?[.:-_](\\w.+)"],
"filename": "{category}_{id:>07}_{md5}.{extension}"
"filename": "{category}_{id:>07}_{md5}.{extension}",
"cookies":
{
"user_id": null,
"pass_hash": null,
}
}
}
}