fix #2151 TMDB发现和趋势修改为TTL缓存

This commit is contained in:
jxxghp
2024-05-24 09:29:51 +08:00
parent 6ee6de48ff
commit a278c80951
3 changed files with 13 additions and 3 deletions

View File

@ -141,7 +141,7 @@ class TMDb(object):
def cached_request(self, method, url, data, json,
_ts=datetime.strftime(datetime.now(), '%Y%m%d')):
"""
缓存请求时间默认1天None不缓存
缓存请求
"""
return self.request(method, url, data, json)