diff --git a/update-plugins.py b/update-plugins.py index bfc42ff..6457cba 100644 --- a/update-plugins.py +++ b/update-plugins.py @@ -84,7 +84,8 @@ if spigotPlugins: f.write( request( "GET", - f"https://api.spiget.org/v2/resources/{plugin}/versions/{version}/download", + f"https://api.spiget.org/v2/resources/{plugin}/versions/{version}/download/proxy", + allow_redirects=True, ).content ) if knownVersions.get(plugin, "") and path.exists(