update M3U8

This commit is contained in:
GitHub Actions Bot 2025-11-10 14:31:27 -05:00
parent 6e080c4af5
commit 140404133d
4 changed files with 221 additions and 121 deletions

View file

@ -94,7 +94,7 @@ async def get_events(
{
"sport": sport,
"event": event_name,
"link": urljoin("http://www.fawanews.sc", href),
"link": urljoin(BASE_URL, href),
"href": href,
}
)

View file

@ -14,22 +14,26 @@ urls: dict[str, dict[str, str | float]] = {}
CACHE_FILE = Cache(Path(__file__).parent / "caches" / "streameast.json", exp=10_800)
MIRRORS = [
"https://streameast.ch",
"https://streameast.sg",
"https://streameast.tw",
"https://streameast.ph",
"https://streameast.ec",
"https://streameast.fi",
"https://streameast.ms",
"https://streameast.ps",
"https://streameast.cf",
"https://streameast.sk",
"https://thestreameast.co",
"https://thestreameast.fun",
"https://thestreameast.ru",
"https://thestreameast.su",
]
subdmns = {
"ch": None,
"sg": None,
"tw": None,
"ph": None,
"ec": None,
"fi": None,
"ms": None,
"ps": None,
"ga": None,
"cf": None,
"sk": None,
"co": "the",
"fun": "the",
"ru": "the",
"su": "the",
}
MIRRORS = [f"https://streameast.{ext}" for ext in subdmns if not subdmns[ext]]
MIRRORS.extend([f"https://thestreameast.{ext}" for ext in subdmns if subdmns[ext]])
async def get_events(