diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-12-31 12:37:23 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-12-31 12:37:23 +0300 |
commit | eb7d1ce4c7bd288fb5db37b7c5c1cabed7e8d326 (patch) | |
tree | af020d0031c842573e0862478a2ff88e448eb4f6 /src/instances | |
parent | Switched back to pug (diff) | |
download | libredirect-eb7d1ce4c7bd288fb5db37b7c5c1cabed7e8d326.zip |
Removed Wikiless, Neuters. Optimization
Diffstat (limited to 'src/instances')
-rwxr-xr-x | src/instances/get_instances.py | 9 | ||||
-rw-r--r-- | src/instances/neuters.json | 6 |
2 files changed, 1 insertions, 14 deletions
diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py index e8b137dc..248f719a 100755 --- a/src/instances/get_instances.py +++ b/src/instances/get_instances.py @@ -23,7 +23,7 @@ authRegex = r"https?:\/{2}\S+:\S+@(?:[^\s\/]+\.)*[a-zA-Z0-9]+" + endRegex # 2.0 because Libredirect is currently on version 2.x.x headers = {'User-Agent': 'Libredirect-instance-fetcher/2.0'} -with open('./src/config/config.json', 'rt') as tmp: +with open('./src/config.json', 'rt') as tmp: config['networks'] = json.load(tmp)['networks'] @@ -328,12 +328,6 @@ def teddit(): fetchJsonList('teddit', 'Teddit', 'https://codeberg.org/teddit/teddit/raw/branch/main/instances.json', {'clearnet': 'url', 'tor': 'onion', 'i2p': 'i2p', 'loki': None}, False) - -def wikiless(): - fetchJsonList('wikiless', 'Wikiless', 'https://wikiless.org/instances.json', - {'clearnet': 'url', 'tor': 'onion', 'i2p': 'i2p', 'loki': None}, False) - - def scribe(): fetchJsonList('scribe', 'Scribe', 'https://git.sr.ht/~edwardloveall/scribe/blob/main/docs/instances.json', None, False) @@ -490,7 +484,6 @@ nitter() bibliogram() libreddit() teddit() -wikiless() scribe() quetre() libremdb() diff --git a/src/instances/neuters.json b/src/instances/neuters.json deleted file mode 100644 index 8023079b..00000000 --- a/src/instances/neuters.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "clearnet": ["https://neuters.de"], - "tor": [], - "i2p": [], - "loki": [] -} |