[nijie] set 1-2s delay between requests to avoid 429 errors
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user