diff --git a/M3U8/scrapers/ppv.py b/M3U8/scrapers/ppv.py index b6a1465..b02f18e 100644 --- a/M3U8/scrapers/ppv.py +++ b/M3U8/scrapers/ppv.py @@ -12,7 +12,7 @@ log = get_logger(__name__) urls: dict[str, dict[str, str | float]] = {} -API_FILE = Cache(Path(__file__).parent / "caches" / "ppv_api.json", exp=86_400) +API_FILE = Cache(Path(__file__).parent / "caches" / "ppv_api.json", exp=28_800) CACHE_FILE = Cache(Path(__file__).parent / "caches" / "ppv.json", exp=10_800) diff --git a/M3U8/scrapers/utils/caching.py b/M3U8/scrapers/utils/caching.py index b09a201..ac93079 100644 --- a/M3U8/scrapers/utils/caching.py +++ b/M3U8/scrapers/utils/caching.py @@ -5,7 +5,6 @@ from .config import Time class Cache: - def __init__(self, file: Path, exp: int | float) -> None: self.file = file self.exp = exp