replace '24*3600' with '86400'

and generalize cache maxage values
This commit is contained in:
Mike Fährmann
2023-12-18 23:19:44 +01:00
parent 1f9b16a70b
commit 57fc6fcf83
24 changed files with 24 additions and 24 deletions

View File

@@ -40,7 +40,7 @@ class AryionExtractor(Extractor):
if username:
self.cookies_update(self._login_impl(username, password))
@cache(maxage=14*24*3600, keyarg=1)
@cache(maxage=14*86400, keyarg=1)
def _login_impl(self, username, password):
self.log.info("Logging in as %s", username)