From a4a44692e29313efcbfd37e5162bfd3031dc253f Mon Sep 17 00:00:00 2001 From: DYefremov Date: Tue, 26 Nov 2024 20:18:46 +0300 Subject: [PATCH] fix warn --- app/tools/picons.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"