- Add --images flag to download images during scraping
- Add --download-images command to fetch images for existing card data
- Images saved to data/images/{set}/ directory
- Card JSON updated with image_file field (relative path)
- Uses Referer header for asset server compatibility
- Supports skip-if-exists for incremental downloads
52 lines
1.0 KiB
JSON
52 lines
1.0 KiB
JSON
{
|
|
"generated_at": "2026-01-27T04:54:59.854435+00:00",
|
|
"schema_version": "1.0",
|
|
"sets": {
|
|
"a1": {
|
|
"name": "Genetic Apex",
|
|
"card_count": 5
|
|
},
|
|
"a1a": {
|
|
"name": "Mythical Island",
|
|
"card_count": 0
|
|
}
|
|
},
|
|
"cards": [
|
|
{
|
|
"id": "a1-001-bulbasaur",
|
|
"name": "Bulbasaur",
|
|
"set_code": "a1",
|
|
"card_number": 1,
|
|
"file": "a1/001-bulbasaur.json"
|
|
},
|
|
{
|
|
"id": "a1-002-ivysaur",
|
|
"name": "Ivysaur",
|
|
"set_code": "a1",
|
|
"card_number": 2,
|
|
"file": "a1/002-ivysaur.json"
|
|
},
|
|
{
|
|
"id": "a1-003-venusaur",
|
|
"name": "Venusaur",
|
|
"set_code": "a1",
|
|
"card_number": 3,
|
|
"file": "a1/003-venusaur.json"
|
|
},
|
|
{
|
|
"id": "a1-004-venusaur-ex",
|
|
"name": "Venusaur ex",
|
|
"set_code": "a1",
|
|
"card_number": 4,
|
|
"file": "a1/004-venusaur-ex.json"
|
|
},
|
|
{
|
|
"id": "a1-005-caterpie",
|
|
"name": "Caterpie",
|
|
"set_code": "a1",
|
|
"card_number": 5,
|
|
"file": "a1/005-caterpie.json"
|
|
}
|
|
],
|
|
"total_cards": 5
|
|
} |