mirror of
https://github.com/doms9/iptv.git
synced 2026-04-21 19:46:59 +02:00
e
- change domains for totalsportek*.py - misc edits
This commit is contained in:
parent
3f0a368f05
commit
00000d9063
4 changed files with 7 additions and 3 deletions
|
|
@ -149,7 +149,8 @@ async def refresh_xml_cache(now_ts: float) -> dict[str, dict[str, str | float]]:
|
|||
|
||||
event_dt = Time.from_str(date)
|
||||
|
||||
key = f"[{sport} - {league}] {title} ({TAG})"
|
||||
if (key := f"[{sport} - {league}] {title} ({TAG})") in events:
|
||||
continue
|
||||
|
||||
events[key] = {
|
||||
"sport": sport,
|
||||
|
|
|
|||
|
|
@ -84,6 +84,9 @@ async def get_events(cached_keys: list[str]) -> list[dict[str, str]]:
|
|||
|
||||
t1, t2 = stream_group.get("away"), stream_group.get("home")
|
||||
|
||||
if not (t1 and t2):
|
||||
continue
|
||||
|
||||
event = get_event(t1, t2)
|
||||
|
||||
if not (date and sport):
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ TAG = "TOTALSPRTK1"
|
|||
|
||||
CACHE_FILE = Cache(TAG, exp=28_800)
|
||||
|
||||
BASE_URL = "https://live.totalsportekarmy.com"
|
||||
BASE_URL = "https://live.totalsportek.foo"
|
||||
|
||||
|
||||
def fix_txt(s: str) -> str:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ TAG = "TOTALSPRTK3"
|
|||
|
||||
CACHE_FILE = Cache(TAG, exp=28_800)
|
||||
|
||||
BASE_URL = "https://live3.totalsportekarmy.com"
|
||||
BASE_URL = "https://live3.totalsportek.foo"
|
||||
|
||||
|
||||
def fix_txt(s: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue