e
This commit is contained in:
parent
00000d91bb
commit
00000d9a4d
6 changed files with 13 additions and 24 deletions
|
|
@ -49,10 +49,7 @@ async def get_events() -> dict[str, dict[str, str | float]]:
|
|||
|
||||
events = {}
|
||||
|
||||
pattern = re.compile(
|
||||
r"https?://[^\s'\"]+?\.m3u8(?:\?[^\s'\"]*)?",
|
||||
re.IGNORECASE,
|
||||
)
|
||||
pattern = re.compile(r"https?://[^\s'\"]+?\.m3u8(?:\?[^\s'\"]*)?", re.IGNORECASE)
|
||||
|
||||
for event in api_data.get("events", []):
|
||||
event_dt = Time.from_str(event["date"], timezone="UTC")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue