From d6bb5c15c5fdb97463404a4846da0464673ca031 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sun, 28 Jan 2024 15:27:18 +0300 Subject: [PATCH] Fixed SafeTwitch https://github.com/libredirect/instances/pull/16 --- instances.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instances.py b/instances.py index 7fbdd51..4f90e3e 100755 --- a/instances.py +++ b/instances.py @@ -455,7 +455,7 @@ def pixivFe(): def safetwitch(): fetchRegexList('safetwitch', 'https://codeberg.org/dragongoose/safetwitch/raw/branch/master/README.md', - r"\| \[.*\]\((https?:\/{2}(?:[^\s\/]+\.)*(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\)") + re.compile(r"^\| \[.*?\]\((https?:\/{2}(?:[^\s\/]+\.)*(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\)",re.MULTILINE)) def beatbump():