update M3U8
This commit is contained in:
parent
dc142ae30b
commit
19ba2fa56b
3 changed files with 1065 additions and 717 deletions
888
M3U8/TV.m3u8
888
M3U8/TV.m3u8
File diff suppressed because it is too large
Load diff
888
M3U8/events.m3u8
888
M3U8/events.m3u8
File diff suppressed because it is too large
Load diff
|
|
@ -55,8 +55,8 @@ async def get_events(
|
|||
events: list[dict[str, str]] = []
|
||||
|
||||
now = Time.clean(Time.now())
|
||||
start_dt = now.delta(minutes=-30)
|
||||
end_dt = now.delta(minutes=30)
|
||||
start_dt = now.delta(hours=-1)
|
||||
end_dt = now.delta(minutes=15)
|
||||
|
||||
for category, streams in api_data["streams"].items():
|
||||
if not streams:
|
||||
|
|
@ -140,7 +140,7 @@ async def scrape(client: httpx.AsyncClient) -> None:
|
|||
entry = {
|
||||
"url": url.replace("540p", "720p"),
|
||||
"logo": logo,
|
||||
"base": "",
|
||||
"base": BASE_URL,
|
||||
"timestamp": ts,
|
||||
"id": tvg_id or "Live.Event.us",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue