[gelbooru_v02] support using 'api-key' & 'user-id' (#8077)
- detect API error messages - add default 1.0s request delay to 'rule34'
This commit is contained in:
@@ -445,6 +445,7 @@ Default
|
||||
``zerochan``
|
||||
* ``"1.0"``
|
||||
``furaffinity``
|
||||
``rule34``
|
||||
* ``"1.0-2.0"``
|
||||
``flickr``,
|
||||
``pexels``,
|
||||
@@ -4650,8 +4651,25 @@ Description
|
||||
restrict it to only one possible format.
|
||||
|
||||
|
||||
extractor.rule34.api-key & .user-id
|
||||
-----------------------------------
|
||||
Type
|
||||
``string``
|
||||
Default
|
||||
``null``
|
||||
Description
|
||||
Values from the `API Access Credentials` section
|
||||
found near the bottom of your account's
|
||||
`Options <https://rule34.xxx/index.php?page=account&s=options>`__
|
||||
page.
|
||||
|
||||
Enable `Generate New Key?` and click `Save`
|
||||
if the value after ``&api_key=`` is empty,
|
||||
e.g. ``&api_key=&user_id=12345``
|
||||
|
||||
|
||||
extractor.rule34xyz.format
|
||||
---------------------------
|
||||
--------------------------
|
||||
Type
|
||||
* ``string``
|
||||
* ``list`` of ``strings``
|
||||
|
||||
@@ -633,6 +633,12 @@
|
||||
{
|
||||
"format": ["hd", "sd", "gif"]
|
||||
},
|
||||
"rule34":
|
||||
{
|
||||
"api-key": null,
|
||||
"user-id": null,
|
||||
"sleep-request": "1.0"
|
||||
},
|
||||
"rule34xyz":
|
||||
{
|
||||
"username": "",
|
||||
|
||||
Reference in New Issue
Block a user