From 00000d9121434c7a4453fc831346b4bfa4ad777f Mon Sep 17 00:00:00 2001 From: doms9 <96013514+doms9@users.noreply.github.com> Date: Wed, 8 Oct 2025 20:42:29 -0400 Subject: [PATCH] e --- M3U8/scrapers/ppv.py | 2 +- M3U8/scrapers/utils/caching.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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