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:
parent
856a171c66
commit
416e78ad4b
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue