This commit is contained in:
doms9 2025-09-25 17:09:20 -04:00
parent 3f8c1c6c68
commit 00000d9749
3 changed files with 763 additions and 657 deletions

View file

@ -134,4 +134,4 @@
"Vice.HD.us2": "http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s18822_dark_360w_270h.png",
"Willow.Cricket.HD.us2": "http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s68605_dark_360w_270h.png",
"Yes.Network.us2": "http://schedulesdirect-api20141201-logos.s3.dualstack.us-east-1.amazonaws.com/stationLogos/s30017_dark_360w_270h.png"
}
}

View file

@ -148,9 +148,7 @@ async def main() -> None:
root.append(channel)
for program in epg_data.findall("programme"):
tvg_id = program.get("channel")
if tvg_id in tvg_ids:
if program.get("channel") in tvg_ids:
title_text = program.find("title").text
subtitle = program.find("sub-title")