e
This commit is contained in:
parent
370735a616
commit
00000d9fbb
3 changed files with 233 additions and 231 deletions
|
|
@ -10,7 +10,8 @@ import httpx
|
|||
tvg_ids_file = Path(__file__).parent / "TVG-IDs.json"
|
||||
epg_file = Path(__file__).parent / "TV.xml"
|
||||
epg_urls = [
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_CA1.xml.gz",
|
||||
# "https://epgshare01.online/epgshare01/epg_ripper_CA1.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_CA2.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_DUMMY_CHANNELS.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_ES1.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_FANDUEL1.xml.gz",
|
||||
|
|
@ -18,7 +19,7 @@ epg_urls = [
|
|||
"https://epgshare01.online/epgshare01/epg_ripper_PLEX1.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_PT1.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_UK1.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_US1.xml.gz",
|
||||
# "https://epgshare01.online/epgshare01/epg_ripper_US1.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_US2.xml.gz",
|
||||
"https://epgshare01.online/epgshare01/epg_ripper_US_LOCALS2.xml.gz",
|
||||
# "https://epgshare01.online/epgshare01/epg_ripper_US_SPORTS1.xml.gz",
|
||||
|
|
@ -123,9 +124,7 @@ 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.values()}
|
||||
|
||||
tvg_ids |= additions
|
||||
tvg_ids |= dummies | {v["old"]: live_img for v in replace_ids.values()}
|
||||
|
||||
root = ET.Element("tv")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue