This commit is contained in:
doms9 2025-11-09 10:01:41 -05:00
parent 1f56f80f01
commit 00000d9911
2 changed files with 5 additions and 3 deletions

View file

@ -13,7 +13,7 @@ log = get_logger(__name__)
urls: dict[str, dict[str, str]] = {}
MIRRORS = ["https://roxiestreams.cc", "https://roxiestreams.live"]
MIRRORS = ["https://roxiestreams.live", "https://roxiestreams.cc"]
CACHE_FILE = Cache(Path(__file__).parent / "caches" / "roxie.json", exp=10_800)
@ -78,9 +78,9 @@ async def refresh_html_cache(
if not (span := row.css_first("span.countdown-timer")):
continue
data_start = span.attributes["data-start"]
data_start = span.attributes["data-start"].rsplit(":", 1)[0]
event_dt = Time.from_str(f"{data_start} PST", "%B %d, %Y %H:%M:%S")
event_dt = Time.from_str(f"{data_start} PST")
key = f"[{sport}] {event} (ROXIE)"