mirror of
https://github.com/doms9/iptv.git
synced 2026-06-06 02:43:05 +02:00
e
- remove pawa.py - remove xstreameast.py - re-add mirror for totalsportek.py - misc edits.
This commit is contained in:
parent
ce9b7df3e1
commit
00000d9e24
6 changed files with 95 additions and 389 deletions
|
|
@ -97,18 +97,9 @@ async def process_event(
|
|||
pass
|
||||
|
||||
if captured:
|
||||
if "smarthard.click" not in (m3u8 := captured[0]).lower():
|
||||
log.warning(f"URL {url_num}) Invalid M3U8 found.")
|
||||
|
||||
return
|
||||
|
||||
log.info(f"URL {url_num}) Captured M3U8")
|
||||
|
||||
return m3u8
|
||||
|
||||
log.warning(f"URL {url_num}) No M3U8 captured after waiting.")
|
||||
|
||||
return
|
||||
return captured[0]
|
||||
|
||||
except Exception as e:
|
||||
log.warning(f"URL {url_num}) {e}")
|
||||
|
|
@ -224,7 +215,7 @@ async def scrape(browser: Browser) -> None:
|
|||
entry = {
|
||||
"url": url,
|
||||
"logo": logo,
|
||||
"base": "https://hardsmart.click",
|
||||
"base": "http://streamobs.click/",
|
||||
"timestamp": ts,
|
||||
"id": tvg_id or "Live.Event.us",
|
||||
"link": link,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue