diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-07-27 19:33:12 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-07-27 19:33:12 +0300 |
commit | c9281a1dabb260e5502b14ba288f0ccc38bec498 (patch) | |
tree | 7d1efb03de2aa093c8242ca4bf8ef92e0bf377cf /src/instances/get_instances.py | |
parent | Fix conflicts (diff) | |
parent | merge nitter regex (diff) | |
download | libredirect-c9281a1dabb260e5502b14ba288f0ccc38bec498.zip |
Merge branch 'master' of https://codeberg.org/LibRedirect/libredirect
Diffstat (limited to 'src/instances/get_instances.py')
-rw-r--r-- | src/instances/get_instances.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py index 5edbfb68..e19bfbbe 100644 --- a/src/instances/get_instances.py +++ b/src/instances/get_instances.py @@ -191,7 +191,7 @@ def send(): def nitter(): r = requests.get('https://raw.githubusercontent.com/wiki/zedeus/nitter/Instances.md') tmp = re.findall( - r"(?:(?:\| \[(?:\S+\.)+[a-zA-Z]+\]\((https?:\/{2}(?:\S+\.)+[a-zA-Z]+)\/?\) (?:\((?:\S+ ?\S*)\) )? *\| (?:✅|🇩🇪) +\|(?:(?:\n)|(?: (?:❌)|(?: ✅)|(?: ❓)|(?: \[))))|(?:- \[(?:\S+\.)+(?:(?:i2p)|(?:loki))\]\((https?:\/{2}(?:\S+\.)(?:(?:i2p)|(?:loki)))\/?\)))", r.text) + r"(?:(?:\| \[(?:\S+\.)+[a-zA-Z]+\]\((https?:\/{2}(?:\S+\.)+[a-zA-Z]+)\/?\) (?:\((?:\S+ ?\S*)\) )? *\| [^❌]{1,3} +\|(?:(?:\n)|(?: (?:❌)|(?: ✅)|(?: ❓)|(?: \[))))|(?:- \[(?:\S+\.)+(?:(?:i2p)|(?:loki))\]\((https?:\/{2}(?:\S+\.)(?:(?:i2p)|(?:loki)))\/?\)))", r.text) nitterList = {} nitterList['normal'] = [] |