update M3U8
This commit is contained in:
parent
6e080c4af5
commit
140404133d
4 changed files with 221 additions and 121 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue