diff --git a/src/plugin/plugin_updatechecker.py b/src/plugin/plugin_updatechecker.py index 89a7de3..14d5c1c 100644 --- a/src/plugin/plugin_updatechecker.py +++ b/src/plugin/plugin_updatechecker.py @@ -204,7 +204,7 @@ def updateInstalledPackage(inputSelectedObject='all'): def getInstalledPlugin(localFileName, localFileVersion): - url = "https://api.spiget.org/v2/search/resources/" + localFileName + "?field=name" + url = "https://api.spiget.org/v2/search/resources/" + localFileName + "?field=name&sort=-downloads" packageName = doAPIRequest(url) i = 1 plugin_match_found = False