mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
[nijie] set 1-2s delay between requests to avoid 429 errors
This commit is contained in:
parent
dd14adccf6
commit
3984a49abf
@ -19,6 +19,7 @@ class NijieExtractor(AsynchronousMixin, BaseExtractor):
|
||||
directory_fmt = ("{category}", "{user_id}")
|
||||
filename_fmt = "{image_id}_p{num}.{extension}"
|
||||
archive_fmt = "{image_id}_{num}"
|
||||
request_interval = (1.0, 2.0)
|
||||
|
||||
def __init__(self, match):
|
||||
BaseExtractor.__init__(self, match)
|
||||
|
Loading…
Reference in New Issue
Block a user