diff options
author | BobIsMyManager <bimmgitsignature.nly8m@simplelogin.co> | 2022-07-27 17:12:14 +0100 |
---|---|---|
committer | BobIsMyManager <bimmgitsignature.nly8m@simplelogin.co> | 2022-07-27 17:12:14 +0100 |
commit | 05dc3c9f39c8723b9b87c919f4cc175641a9f7a5 (patch) | |
tree | e48ddecba241ac53b2b2ff868a4c1a05f9059840 /src | |
parent | Merge pull request 'Squashed a few bugs' (#10) from BobIsMyManager/libredirec... (diff) | |
parent | Cleaned up nitter regex (diff) | |
download | libredirect-05dc3c9f39c8723b9b87c919f4cc175641a9f7a5.zip |
merge nitter regex
Diffstat (limited to 'src')
-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'] = [] |