From 416e78ad4b5f7ec06a0e2e9fb05ce8cb7695dff2 Mon Sep 17 00:00:00 2001 From: lm Date: Sat, 18 Oct 2025 15:08:24 +0200 Subject: [PATCH] Update CS2 data source Point the pattern fetcher to the ByMykel raw GitHub URL now that the old endpoint returns 404. --- app/tools/cs2_patterns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tools/cs2_patterns.py b/app/tools/cs2_patterns.py index 77cd15f..b8f3cf3 100644 --- a/app/tools/cs2_patterns.py +++ b/app/tools/cs2_patterns.py @@ -22,7 +22,7 @@ from app.logic import IMAGES_DIR class CS2PatternFetcher: """Fetch CS2 skin metadata and download pattern images.""" - DATA_URL = "https://bymykel.github.io/CSGO-API/api/skins.json" + DATA_URL = "https://raw.githubusercontent.com/ByMykel/CSGO-API/main/public/api/en/skins.json" def __init__(self, cache_dir: Path | None = None): self.cache_dir = cache_dir or Path.home() / ".icra"