diff options
| author | 2020-05-03 00:06:40 -0400 | |
|---|---|---|
| committer | 2020-05-03 00:06:40 -0400 | |
| commit | 90e50db2e3c38f523bb5195d295290b06e5cedb0 (patch) | |
| tree | 4759dc0faea79f83fa5074e2d0bd82b18a9caaea /gallery_dl/extractor/deviantart.py | |
| parent | d5b96ce44b7809f5ae01e3e9d70a1d58fe21ccf5 (diff) | |
New upstream version 1.13.6upstream/1.13.6
Diffstat (limited to 'gallery_dl/extractor/deviantart.py')
| -rw-r--r-- | gallery_dl/extractor/deviantart.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
