This commit is contained in:
doms9 2025-09-20 23:47:18 -04:00
parent 8e5b3e786c
commit 00000d98c4
4 changed files with 8 additions and 9 deletions

View file

@ -122,13 +122,14 @@ def hijack_id(
async def main() -> None:
tvg_ids: dict[str, str] = json.loads(tvg_ids_file.read_text(encoding="utf-8"))
additions = dummies | {v["old"]: live_img for _, v in replace_ids.items()}
additions = dummies | {v["old"]: live_img for v in replace_ids.values()}
tvg_ids |= additions
root = ET.Element("tv")
tasks = [fetch_xml(url) for url in epg_urls]
results = await asyncio.gather(*tasks)
for epg_data in results: