refactor: backend standardization (service layer, validation, route splitting) + image cache and Scryfall API fixes

This commit is contained in:
matt 2026-03-17 16:34:50 -07:00
parent e81b47bccf
commit f784741416
35 changed files with 7054 additions and 4344 deletions

View file

@ -58,6 +58,7 @@ class ScryfallBulkDataClient:
try:
req = Request(url)
req.add_header("User-Agent", "MTG-Deckbuilder/3.0 (Image Cache)")
req.add_header("Accept", "application/json")
with urlopen(req, timeout=30) as response:
import json
return json.loads(response.read().decode("utf-8"))