Update CS2 data source

Point the pattern fetcher to the ByMykel raw GitHub URL now that the old endpoint returns 404.
This commit is contained in:
lm 2025-10-18 15:08:24 +02:00
parent 856a171c66
commit 416e78ad4b
1 changed files with 1 additions and 1 deletions

View File

@ -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"