update M3U8

This commit is contained in:
GitHub Actions Bot 2026-05-13 12:01:04 -04:00
parent 52c043f99a
commit 89364c0c56
5 changed files with 331 additions and 415 deletions

View file

@ -42,7 +42,7 @@ async def process_event(url: str, url_num: int) -> tuple[str | None, str | None]
log.warning(f"URL {url_num}) Failed to load iframe source.")
return nones
valid_m3u8 = re.compile(r'(var|const)\s+(\w+)\s*=\s*"([^"]*)"', re.I)
valid_m3u8 = re.compile(r'(var|const)\s+(\w+)\s+=\s+"([^"]*)"', re.I)
if not (match := valid_m3u8.search(iframe_src_data.text)):
log.warning(f"URL {url_num}) No Clappr source found.")

View file

@ -14,7 +14,7 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "ROXIE"
CACHE_FILE = Cache(TAG, exp=28_800)
CACHE_FILE = Cache(TAG, exp=19_800)
BASE_URL = "https://roxiestreams.su"

View file

@ -10,7 +10,7 @@ urls: dict[str, dict[str, str | float]] = {}
TAG = "STRMCNTR"
CACHE_FILE = Cache(TAG, exp=86_400)
CACHE_FILE = Cache(TAG, exp=28_800)
API_URL = "https://backend.streamcenter.live/api/Parties"