diff options
Diffstat (limited to 'src/instances/peertube.py')
-rw-r--r-- | src/instances/peertube.py | 13 |
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) |