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