diff --git a/app_bot/bot/core/service.py b/app_bot/bot/core/service.py index 8000e1d..f6e5d4f 100644 --- a/app_bot/bot/core/service.py +++ b/app_bot/bot/core/service.py @@ -63,5 +63,7 @@ class UrlParser: for url, regex in product(urls, regexes): if re.match(regex, url): valid.append(url) + + valid = list(dict.fromkeys(valid)) self._log.debug('Matched urls: %s', valid) return valid