mirror of
https://github.com/doms9/iptv.git
synced 2026-03-07 11:18:25 +01:00
e
- add tflix.py - remove strmd.py - modify playwright browser/context usage - misc. edits
This commit is contained in:
parent
1aa60a8ce1
commit
00000d9638
24 changed files with 481 additions and 462 deletions
|
|
@ -7,8 +7,8 @@ from .config import Time
|
|||
class Cache:
|
||||
now_ts: float = Time.now().timestamp()
|
||||
|
||||
def __init__(self, file: str, exp: int | float) -> None:
|
||||
self.file = Path(__file__).parent.parent / "caches" / file
|
||||
def __init__(self, filename: str, exp: int | float) -> None:
|
||||
self.file = Path(__file__).parent.parent / "caches" / f"{filename.lower()}.json"
|
||||
|
||||
self.exp = exp
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue