e
This commit is contained in:
parent
7cabebb529
commit
00000d940b
4 changed files with 13 additions and 13 deletions
|
|
@ -134,13 +134,13 @@ async def get_events(
|
|||
|
||||
API_FILE.write(api_data)
|
||||
|
||||
for stream_group in api_data.get("streams", []):
|
||||
sport = stream_group("category", [])
|
||||
for stream_group in api_data["streams"]:
|
||||
sport = stream_group["category"]
|
||||
|
||||
if sport == "24/7 Streams":
|
||||
continue
|
||||
|
||||
for event in stream_group.get("streams", []):
|
||||
for event in stream_group["streams"]:
|
||||
name, start_ts, end_ts, logo, uri_name = (
|
||||
event["name"],
|
||||
event["starts_at"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue