mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 06:17:41 +00:00
12 lines
537 B
Python
12 lines
537 B
Python
from providers.alert.rsgb_ical_alert_provider import RSGBICALAlertProvider
|
|
|
|
|
|
class RSGBHFContests(RSGBICALAlertProvider):
|
|
"""Alert provider for RSGB HF Contest calendar"""
|
|
|
|
POLL_INTERVAL_DAYS = 30
|
|
ALERTS_URL = "https://calendar.google.com/calendar/ical/a5ff31ebb1b4834dc7fff4c5415ae8251c6a9aa11f98c6af6e472b6c552b1915%40group.calendar.google.com/public/basic.ics"
|
|
|
|
def __init__(self, provider_config):
|
|
super().__init__("RSGB HF Contests", provider_config, self.ALERTS_URL, self.POLL_INTERVAL_DAYS * 24 * 60 * 60)
|