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
f5445c8141
commit
05816f6de6
4 changed files with 778 additions and 384 deletions
578
M3U8/TV.m3u8
578
M3U8/TV.m3u8
File diff suppressed because it is too large
Load diff
578
M3U8/events.m3u8
578
M3U8/events.m3u8
File diff suppressed because it is too large
Load diff
|
|
@ -74,7 +74,7 @@ async def main() -> None:
|
||||||
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()),
|
||||||
# asyncio.create_task(tvapp.scrape()),
|
asyncio.create_task(tvapp.scrape()),
|
||||||
asyncio.create_task(webcast.scrape()),
|
asyncio.create_task(webcast.scrape()),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -57,9 +57,7 @@ async def get_events() -> list[dict[str, str]]:
|
||||||
for a in row.css("a.list-group-item[href]"):
|
for a in row.css("a.list-group-item[href]"):
|
||||||
splits = a.text(strip=True).split(":")
|
splits = a.text(strip=True).split(":")
|
||||||
|
|
||||||
del splits[-3:]
|
event_name = ":".join(splits[:2]).split("@")[0].strip()
|
||||||
|
|
||||||
event_name = ":".join(splits)
|
|
||||||
|
|
||||||
if not (href := a.attributes.get("href")):
|
if not (href := a.attributes.get("href")):
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue