e
This commit is contained in:
parent
00000d9aa6
commit
00000d9d12
1 changed files with 3 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ epg_urls = [
|
||||||
"https://epgshare01.online/epgshare01/epg_ripper_UK1.xml.gz",
|
"https://epgshare01.online/epgshare01/epg_ripper_UK1.xml.gz",
|
||||||
"https://epgshare01.online/epgshare01/epg_ripper_US2.xml.gz",
|
"https://epgshare01.online/epgshare01/epg_ripper_US2.xml.gz",
|
||||||
"https://epgshare01.online/epgshare01/epg_ripper_US_LOCALS1.xml.gz",
|
"https://epgshare01.online/epgshare01/epg_ripper_US_LOCALS1.xml.gz",
|
||||||
|
"https://github.com/matthuisman/i.mjh.nz/raw/refs/heads/master/Roku/all.xml.gz",
|
||||||
]
|
]
|
||||||
|
|
||||||
client = httpx.AsyncClient(
|
client = httpx.AsyncClient(
|
||||||
|
|
@ -145,6 +146,8 @@ async def main() -> None:
|
||||||
tasks = [fetch_xml(url) for url in epg_urls]
|
tasks = [fetch_xml(url) for url in epg_urls]
|
||||||
|
|
||||||
results = await asyncio.gather(*tasks)
|
results = await asyncio.gather(*tasks)
|
||||||
|
|
||||||
|
#breakpoint()
|
||||||
|
|
||||||
for epg_data in results:
|
for epg_data in results:
|
||||||
if epg_data is None:
|
if epg_data is None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue