1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[behance] use default delay between requests (#2507)

This commit is contained in:
Mike Fährmann 2023-01-07 14:45:56 +01:00
parent 2cae4567ba
commit 3a0450adbf
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
# Copyright 2018-2022 Mike Fährmann
# Copyright 2018-2023 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
"""Extract images from https://www.behance.net/"""
"""Extractors for https://www.behance.net/"""
from .common import Extractor, Message
from .. import text
@ -17,6 +17,7 @@ class BehanceExtractor(Extractor):
"""Base class for behance extractors"""
category = "behance"
root = "https://www.behance.net"
request_interval = (2.0, 4.0)
def items(self):
for gallery in self.galleries():