diff --git a/main.py b/main.py index 8211ae2..4708b13 100755 --- a/main.py +++ b/main.py @@ -61,6 +61,7 @@ laboratory(mightyList) twineo(mightyList) priviblur(mightyList) mozhi(mightyList) +skunkyArt(mightyList) mightyList = filterLastSlash(mightyList) diff --git a/services/other.py b/services/other.py index 3f56f3c..5738a31 100644 --- a/services/other.py +++ b/services/other.py @@ -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 - ) \ No newline at end of file + ) + + +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())