diff options
author | BobIsMyManager <bimmgitsignature.nly8m@simplelogin.co> | 2022-07-27 16:57:15 +0100 |
---|---|---|
committer | BobIsMyManager <bimmgitsignature.nly8m@simplelogin.co> | 2022-07-27 16:57:15 +0100 |
commit | 1d0df109b3fcffbe15bf1d79b1dfdcc026b12383 (patch) | |
tree | e48ddecba241ac53b2b2ff868a4c1a05f9059840 /src/instances | |
parent | , (diff) | |
download | libredirect-1d0df109b3fcffbe15bf1d79b1dfdcc026b12383.zip |
Cleaned up nitter regex
Diffstat (limited to 'src/instances')
-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'] = [] |