mirror of
https://github.com/libredirect/instances.git
synced 2024-12-06 19:26:17 +01:00
Added SkunkyArt https://github.com/libredirect/browser_extension/issues/984
This commit is contained in:
@@ -61,6 +61,7 @@ laboratory(mightyList)
|
||||
twineo(mightyList)
|
||||
priviblur(mightyList)
|
||||
mozhi(mightyList)
|
||||
skunkyArt(mightyList)
|
||||
|
||||
|
||||
mightyList = filterLastSlash(mightyList)
|
||||
|
||||
+23
-2
@@ -183,7 +183,8 @@ def jiti(mightyList):
|
||||
|
||||
def anonymousOverflow(mightyList):
|
||||
try:
|
||||
r = requests.get('https://raw.githubusercontent.com/httpjamesm/AnonymousOverflow/main/instances.json')
|
||||
r = requests.get(
|
||||
'https://raw.githubusercontent.com/httpjamesm/AnonymousOverflow/main/instances.json')
|
||||
rJson: dict = r.json()
|
||||
all_instances = dict()
|
||||
for net_type, x_instances in rJson.items():
|
||||
@@ -308,4 +309,24 @@ def privateBin(mightyList):
|
||||
'url',
|
||||
False,
|
||||
mightyList
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def skunkyArt(mightyList):
|
||||
try:
|
||||
r = requests.get(
|
||||
'https://git.macaw.me/skunky/SkunkyArt/raw/tag/v1.3.1/instances.json')
|
||||
rJson: dict = r.json()
|
||||
clearnet = []
|
||||
for item in rJson['instances']:
|
||||
if 'clearnet' in item['urls']:
|
||||
clearnet.append(item['urls']['clearnet'])
|
||||
mightyList['skunkyArt'] = {
|
||||
"clearnet": clearnet,
|
||||
"tor": [],
|
||||
"i2p": [],
|
||||
"loki": []
|
||||
}
|
||||
except Exception:
|
||||
fetchCache('skunkyArt', mightyList)
|
||||
logging.error(traceback.format_exc())
|
||||
|
||||
Reference in New Issue
Block a user