e
This commit is contained in:
parent
00000d932b
commit
00000d9e96
8 changed files with 21 additions and 21 deletions
|
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
import asyncio
|
||||
import io
|
||||
import json
|
||||
|
|
@ -11,12 +10,12 @@ from typing import Any
|
|||
import httpx
|
||||
from playwright.async_api import Request, async_playwright
|
||||
|
||||
from .logger import get_logger
|
||||
from .tvpass import TZ, logos
|
||||
from .utils.logger import get_logger
|
||||
|
||||
log = get_logger(__name__)
|
||||
|
||||
urls: dict[str, str] = {}
|
||||
urls: dict[str, dict[str, str]] = {}
|
||||
|
||||
tvp_sports = set(logos.keys())
|
||||
|
||||
|
|
@ -29,9 +28,9 @@ CERT_BUNDL_URLS = [
|
|||
"https://ssl.com/repo/certs/Sectigo-AAA-Root.pem",
|
||||
]
|
||||
|
||||
CERT_FILE = Path(__file__).parent / "cached-ca.pem"
|
||||
CERT_FILE = Path(__file__).parent / "utils" / "cached-ca.pem"
|
||||
|
||||
CACHE_FILE = Path(__file__).parent / "livetvsx.json"
|
||||
CACHE_FILE = Path(__file__).parent / "caches" / "livetvsx.json"
|
||||
|
||||
|
||||
async def safe_process_event(fn, url_num: int, timeout=20) -> Any | None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue