mirror of
https://github.com/doms9/iptv.git
synced 2026-04-21 19:46:59 +02:00
update M3U8
This commit is contained in:
parent
252c062327
commit
a9c1802b80
4 changed files with 862 additions and 739 deletions
798
M3U8/TV.m3u8
798
M3U8/TV.m3u8
File diff suppressed because it is too large
Load diff
798
M3U8/events.m3u8
798
M3U8/events.m3u8
File diff suppressed because it is too large
Load diff
|
|
@ -70,7 +70,7 @@ async def main() -> None:
|
||||||
httpx_tasks = [
|
httpx_tasks = [
|
||||||
asyncio.create_task(fawa.scrape()),
|
asyncio.create_task(fawa.scrape()),
|
||||||
asyncio.create_task(istreameast.scrape()),
|
asyncio.create_task(istreameast.scrape()),
|
||||||
asyncio.create_task(ovogoal.scrape()),
|
# asyncio.create_task(ovogoal.scrape()),
|
||||||
asyncio.create_task(pawa.scrape()),
|
asyncio.create_task(pawa.scrape()),
|
||||||
asyncio.create_task(shark.scrape()),
|
asyncio.create_task(shark.scrape()),
|
||||||
asyncio.create_task(totalsportek.scrape()),
|
asyncio.create_task(totalsportek.scrape()),
|
||||||
|
|
|
||||||
|
|
@ -187,6 +187,9 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
||||||
(live_data.json() or [{}])[-1].get("result", {}).get("data", {}).get("json")
|
(live_data.json() or [{}])[-1].get("result", {}).get("data", {}).get("json")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not api_data:
|
||||||
|
return events
|
||||||
|
|
||||||
for link in api_data:
|
for link in api_data:
|
||||||
if not link.get("viewerCount"):
|
if not link.get("viewerCount"):
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue