diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-04-08 03:18:05 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-04-08 03:18:05 +0300 |
commit | 31c642fc90490471ea6903b148b201f0557d8da0 (patch) | |
tree | 16fc15670ddc439ac50f9590d01d5d8f9d22ec7a /src/instances | |
parent | merging branches (diff) | |
download | libredirect-31c642fc90490471ea6903b148b201f0557d8da0.zip |
Fixed wiki redirect bug #173. i2p to wikiless list. Fixed imgur redirect #175 #166
Diffstat (limited to '')
-rw-r--r-- | src/instances/get_instances.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py index 6e839c47..5f54fcff 100644 --- a/src/instances/get_instances.py +++ b/src/instances/get_instances.py @@ -108,9 +108,12 @@ rJson = json.loads(r.text) wikilessList = {} wikilessList['normal'] = [] wikilessList['tor'] = [] +wikilessList['i2p'] = [] for item in rJson: if item.endswith('.onion'): wikilessList['tor'].append('http://' + item) + elif item.endswith('.i2p'): + wikilessList['i2p'].append('http://' + item) else: wikilessList['normal'].append('https://' + item) mightyList['wikiless'] = wikilessList |