From 842fe9c503debe86eb42defa18f9658954c3c39b Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Sun, 17 Sep 2023 16:30:41 +0300 Subject: [PATCH] Added Proxigram --- README.md | 1 + instances.py | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 65ac4b4..1816aaa 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ - PokeTube: [https://codeberg.org/Ashley/poketube/src/branch/main/instances.json](https://codeberg.org/Ashley/poketube/src/branch/main/instances.json) - Tent: [https://forgejo.sny.sh/sun/Tent#instances](https://forgejo.sny.sh/sun/Tent#instances) - SafeTwitch: [https://codeberg.org/dragongoose/safetwitch#instances](https://codeberg.org/dragongoose/safetwitch#instances) +- Proxigram: [https://codeberg.org/ThePenguinDev/Proxigram/wiki/Instances](https://codeberg.org/ThePenguinDev/Proxigram/wiki/Instances) ## How to run: diff --git a/instances.py b/instances.py index dc64c2d..93a40ea 100755 --- a/instances.py +++ b/instances.py @@ -437,6 +437,7 @@ def pixivfe(): fetchRegexList('pixivfe', 'https://codeberg.org/VnPower/pixivfe/raw/branch/main/README.md', r"\| (https?:\/{2}(?:\S+\.)+[a-zA-Z0-9]*)\/? +\|") + def safetwitch(): fetchRegexList('safetwitch', 'https://codeberg.org/dragongoose/safetwitch/raw/branch/master/README.md', r"\| \[.*\]\((https?:\/{2}(?:[^\s\/]+\.)*(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\)") @@ -618,6 +619,11 @@ def jiti(): mightyList['jitsi']['clearnet'].insert(0, 'https://meet.jit.si') +def proxigram(): + fetchRegexList('proxigram', 'https://codeberg.org/ThePenguinDev/Proxigram/wiki/raw/Instances.md', + r"\[(https?:\/{2}(?:[^\s\/]+\.)+[a-zA-Z0-9]+)\/?\]") + + def isValid(url): # This code is contributed by avanitrachhadiya2155 try: result = urlparse(url) @@ -668,6 +674,7 @@ gothub() mikuInvidious() wolfreeAlpha(wolfreeAlpha_url_list_i) jiti() +proxigram() mightyList = filterLastSlash(mightyList) mightyList = idnaEncode(mightyList)