Update appcatalog.py

Use the catalog v3
This commit is contained in:
Kayou 2023-03-27 13:43:35 +02:00 committed by GitHub
parent fa24cbd82b
commit f718e5be53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ class AppCatalog():
g = Github()
raw_apps = json.loads(requests.get("https://app.yunohost.org/default/v2/apps.json").text)
raw_apps = json.loads(requests.get("https://app.yunohost.org/default/v3/apps.json").text)
raw_apps = raw_apps["apps"]
for name in sorted(raw_apps.keys()):