From 90e50db2e3c38f523bb5195d295290b06e5cedb0 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 3 May 2020 00:06:40 -0400 Subject: New upstream version 1.13.6 --- gallery_dl/extractor/deviantart.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gallery_dl/extractor/deviantart.py') diff --git a/gallery_dl/extractor/deviantart.py b/gallery_dl/extractor/deviantart.py index ca722b8..2631052 100644 --- a/gallery_dl/extractor/deviantart.py +++ b/gallery_dl/extractor/deviantart.py @@ -1006,7 +1006,8 @@ class DeviantartOAuthAPI(): msg = "API responded with {} {}".format( status, response.reason) if status == 429: - self.delay += 1 + if self.delay < 9: + self.delay += 1 self.log.warning("%s. Using %ds delay.", msg, 2 ** self.delay) else: self.log.error(msg) -- cgit v1.2.3