e
This commit is contained in:
parent
00000d94a2
commit
00000d9a95
12 changed files with 160 additions and 55 deletions
|
|
@ -3,7 +3,7 @@ from pathlib import Path
|
|||
|
||||
import httpx
|
||||
|
||||
from .utils import LOGOS, get_logger, load_cache, now, write_cache
|
||||
from .utils import get_logger, league_info, load_cache, now, write_cache
|
||||
|
||||
log = get_logger(__name__)
|
||||
|
||||
|
|
@ -54,7 +54,8 @@ async def main(client: httpx.AsyncClient) -> None:
|
|||
|
||||
entry = {
|
||||
"url": f"http://origin.thetvapp.to/hls/{url.split('/')[-2]}/mono.m3u8",
|
||||
"logo": LOGOS.get(sport, LOGOS["default"]),
|
||||
"logo": league_info(sport)["logo"],
|
||||
"tvg-id": league_info(sport)["id"],
|
||||
"base": "https://tvpass.org",
|
||||
"timestamp": now.timestamp(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue