diff --git a/src/plugin/plugin_downloader.py b/src/plugin/plugin_downloader.py index 3e65104..0b7bc0e 100644 --- a/src/plugin/plugin_downloader.py +++ b/src/plugin/plugin_downloader.py @@ -57,7 +57,7 @@ def getVersionName(packageId, versionId): def searchPackage(ressourceName): - url = f"https://api.spiget.org/v2/search/resources/{ressourceName}?field=name" + url = f"https://api.spiget.org/v2/search/resources/{ressourceName}?field=name&sort=-downloads" packageName = doAPIRequest(url) i = 1 print(f"Searching: {ressourceName}")