update M3U8
This commit is contained in:
parent
420e971945
commit
9581d3427d
5 changed files with 1361 additions and 670 deletions
|
|
@ -86,7 +86,7 @@ async def get_events(
|
|||
if not (name and category_id and iframe and event_time):
|
||||
continue
|
||||
|
||||
event_dt = Time.from_str(event_time, timezone="UTC")
|
||||
event_dt = Time.from_str(event_time, timezone="CET")
|
||||
|
||||
if not start_dt <= event_dt <= end_dt:
|
||||
continue
|
||||
|
|
|
|||
|
|
@ -101,6 +101,7 @@ class Time(datetime):
|
|||
"%Y/%m/%d %H:%M:%S",
|
||||
"%m/%d/%Y %H:%M",
|
||||
"%m/%d/%Y %H:%M:%S",
|
||||
"%Y-%m-%dT%H:%M:%S",
|
||||
"%Y/%m/%dT%H:%M:%S.%fZ",
|
||||
"%Y-%m-%dT%H:%M:%S.%fZ",
|
||||
"%a, %d %b %Y %H:%M:%S %z",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue