spigot relies on CF... so we need to use the /proxy downloads
This commit is contained in:
parent
441c811b84
commit
694179cdb0
1 changed files with 2 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue