replace '24*3600' with '86400'
and generalize cache maxage values
This commit is contained in:
@@ -56,7 +56,7 @@ class SubscribestarExtractor(Extractor):
|
||||
if username:
|
||||
self.cookies_update(self._login_impl(username, password))
|
||||
|
||||
@cache(maxage=28*24*3600, keyarg=1)
|
||||
@cache(maxage=28*86400, keyarg=1)
|
||||
def _login_impl(self, username, password):
|
||||
self.log.info("Logging in as %s", username)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user