about summary refs log tree commit diff stats
path: root/src/instances/peertube.py
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-03-15 01:30:30 +0300
committerManeraKai <manerakai@protonmail.com>2022-03-15 01:30:30 +0300
commitcd836df62f68d2d211701e2e1c14b7546c6c57c6 (patch)
treee700d02af39922d24dadd997cc6fca01a8a4b4e3 /src/instances/peertube.py
parentAdded almost all Piped-Material settings (diff)
downloadlibredirect-cd836df62f68d2d211701e2e1c14b7546c6c57c6.zip
Added simpleertube #78
Diffstat (limited to 'src/instances/peertube.py')
-rw-r--r--src/instances/peertube.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/instances/peertube.py b/src/instances/peertube.py
deleted file mode 100644
index 5815b0e6..00000000
--- a/src/instances/peertube.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import requests
-import json
-from urllib.parse import urlparse
-
-r = requests.get(
-    'https://instances.joinpeertube.org/api/v1/instances?start=0&count=1045&sort=-createdAt')
-rJson = json.loads(r.text)
-
-myList = []
-for k in rJson['data']:
-    myList.append(k['host'])
-    
-print(myList)