summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/newgrounds.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/newgrounds.py')
-rw-r--r--gallery_dl/extractor/newgrounds.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/newgrounds.py b/gallery_dl/extractor/newgrounds.py
index a6971e8..4cdcf87 100644
--- a/gallery_dl/extractor/newgrounds.py
+++ b/gallery_dl/extractor/newgrounds.py
@@ -23,7 +23,7 @@ class NewgroundsExtractor(Extractor):
root = "https://www.newgrounds.com"
cookies_domain = ".newgrounds.com"
cookies_names = ("NG_GG_username", "vmk1du5I8m")
- request_interval = 1.0
+ request_interval = (0.5, 1.5)
def __init__(self, match):
Extractor.__init__(self, match)
@@ -98,7 +98,7 @@ class NewgroundsExtractor(Extractor):
if username:
self.cookies_update(self._login_impl(username, password))
- @cache(maxage=360*24*3600, keyarg=1)
+ @cache(maxage=365*86400, keyarg=1)
def _login_impl(self, username, password):
self.log.info("Logging in as %s", username)