Fix integration file fetching

Had incorrect URLs for dist and raw files
This commit is contained in:
IamTheFij 2024-09-16 15:55:46 -07:00
parent 0983fd27c9
commit 0c11152e29

View File

@ -216,9 +216,9 @@ class Package:
def real_get(filename) -> requests.Response | None:
urls = [
f"https://raw.githubusercontent.com/{self.owner}/{self.version}/dist/{filename}",
f"https://raw.githubusercontent.com/{self.owner}/{self.name}/{self.version}/dist/{filename}",
f"https://github.com/{self.owner}/{self.name}/releases/download/{self.version}/{filename}",
f"https://raw.githubusercontent.com/{self.owner}/{self.version}/{filename}",
f"https://raw.githubusercontent.com/{self.owner}/{self.name}/{self.version}/{filename}",
]
for url in urls: