1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 11:12:40 +01:00

[nijie] reduce cache maxage to 90 days

This commit is contained in:
Mike Fährmann 2022-08-27 21:57:45 +02:00
parent f375ec0ffa
commit 636d03df95
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -126,7 +126,7 @@ class NijieExtractor(AsynchronousMixin, BaseExtractor):
username, password = self._get_auth_info()
self._update_cookies(self._login_impl(username, password))
@cache(maxage=150*24*3600, keyarg=1)
@cache(maxage=90*24*3600, keyarg=1)
def _login_impl(self, username, password):
if not username or not password:
raise exception.AuthenticationError(