1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-26 04:32:51 +01:00

[derpibooru] use the "Everything" filter by default (#1243)

when neither 'api-key' nor 'filter' are set
This commit is contained in:
Mike Fährmann 2021-01-14 04:00:41 +01:00
parent 91308140ec
commit 01b9ccd4de
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 2 additions and 2 deletions

View File

@ -713,8 +713,6 @@ extractor.derpibooru.filter
Type
``integer``
Default
``null``
Example
``56027`` (`Everything <https://derpibooru.org/filters/56027>`_ filter)
Description
The content filter ID to use.

View File

@ -46,6 +46,8 @@ class DerpibooruExtractor(BooruExtractor):
filter_id = self.config("filter")
if filter_id:
params["filter_id"] = filter_id
elif not api_key:
params["filter_id"] = "56027" # "Everything" filter
while True:
data = self.request(url, params=params).json()