- edit domain for cdnlivetv.py
- edit scraping for streamsgate.py
This commit is contained in:
doms9 2026-04-10 22:24:03 -04:00
parent a16a34ff4c
commit 00000d9b90
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ CACHE_FILE = Cache(TAG, exp=10_800)
API_FILE = Cache(f"{TAG}-api", exp=19_800)
API_URL = "https://api.cdn-live.tv"
API_URL = "https://api.cdnlivetv.tv"
async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:

View file

@ -80,7 +80,7 @@ async def process_event(url: str, url_num: int) -> tuple[str | None, str | None]
log.info(f"URL {url_num}) Captured M3U8")
return match[2]
return match[2], ifr_src
async def refresh_api_cache(now_ts: float) -> list[dict[str, Any]]:
@ -178,7 +178,7 @@ async def scrape() -> None:
url_num=i,
)
url = await network.safe_process(
url, iframe = await network.safe_process(
handler,
url_num=i,
semaphore=network.PW_S,
@ -198,7 +198,7 @@ async def scrape() -> None:
entry = {
"url": url,
"logo": logo,
"base": "https://streamfree.click",
"base": iframe,
"timestamp": ts,
"id": tvg_id or "Live.Event.us",
"link": link,