mirror of
https://github.com/libredirect/instances.git
synced 2024-12-06 19:26:17 +01:00
Add safetwitch
This commit is contained in:
+8
-1
@@ -167,6 +167,9 @@ def fetchRegexList(frontend, url, regex):
|
||||
|
||||
tmp = re.findall(regex, r.text)
|
||||
|
||||
print(tmp)
|
||||
print(r.text)
|
||||
|
||||
for item in tmp:
|
||||
if item.strip() == "":
|
||||
continue
|
||||
@@ -437,6 +440,10 @@ 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]+)\/?\)")
|
||||
|
||||
|
||||
def beatbump():
|
||||
fetchFromFile('beatbump')
|
||||
@@ -643,6 +650,7 @@ whoogle()
|
||||
librex()
|
||||
rimgo()
|
||||
pixivfe()
|
||||
safetwitch()
|
||||
beatbump()
|
||||
hyperpipe()
|
||||
facil()
|
||||
@@ -664,7 +672,6 @@ mikuInvidious()
|
||||
wolfreeAlpha(wolfreeAlpha_url_list_i)
|
||||
jiti()
|
||||
|
||||
|
||||
mightyList = filterLastSlash(mightyList)
|
||||
mightyList = idnaEncode(mightyList)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user