Get ZLOTA spots from its own API rather than PnP. Closes #37

This commit is contained in:
Ian Renton
2025-10-23 08:47:00 +01:00
parent 65d83d2339
commit 5d4b3d500d
5 changed files with 69 additions and 20 deletions

View File

@@ -5,6 +5,7 @@ import pytz
from rss_parser import RSSParser
from alertproviders.http_alert_provider import HTTPAlertProvider
from core.sig_utils import get_icon_for_sig
from data.alert import Alert
@@ -51,7 +52,7 @@ class WOTA(HTTPAlertProvider):
sig="WOTA",
sig_refs=[ref] if ref else [],
sig_refs_names=[ref_name] if ref_name else [],
icon="mound",
icon=get_icon_for_sig("WOTA"),
start_time=time.timestamp())
# Add to our list.