diff --git a/app/tools/picons.py b/app/tools/picons.py index 0cb5b43a..e733d483 100644 --- a/app/tools/picons.py +++ b/app/tools/picons.py @@ -354,9 +354,9 @@ def format(ssid, on_id, namespace, picon_ids, s_type): class ProviderParser(HTMLParser): """ Parser for satellite html page. (https://www.lyngsat.com/*sat-name*.html) """ - _POSITION_PATTERN = re.compile("at\s\d+\..*(?:E|W)']") - _ONID_TID_PATTERN = re.compile("^\d+-\d+.*") - _TRANSPONDER_FREQUENCY_PATTERN = re.compile("^\d+ [HVLR]+") + _POSITION_PATTERN = re.compile(r"at\s\d+\..*(?:E|W)']") + _ONID_TID_PATTERN = re.compile(r"^\d+-\d+.*") + _TRANSPONDER_FREQUENCY_PATTERN = re.compile(r"^\d+ [HVLR]+") _DOMAINS = {"/tvchannels/", "/radiochannels/", "/packages/", "/logo/"} _BASE_URL = "https://www.lyngsat.com"