- 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
40 lines
913 B
JSON
40 lines
913 B
JSON
{
|
|
"id": "a1-002-ivysaur",
|
|
"name": "Ivysaur",
|
|
"set_code": "a1",
|
|
"set_name": "Genetic Apex",
|
|
"card_number": 2,
|
|
"rarity": "Uncommon",
|
|
"card_type": "pokemon",
|
|
"image_url": "https://assets.pokemon-zone.com/game-assets/CardPreviews/cPK_10_000020_00_FUSHIGISOU_U.webp",
|
|
"source_url": "https://www.pokemon-zone.com/cards/a1/2/ivysaur/",
|
|
"hp": 90,
|
|
"pokemon_type": "grass",
|
|
"stage": "stage_1",
|
|
"evolves_from": "Bulbasaur",
|
|
"is_ex": false,
|
|
"abilities": [],
|
|
"attacks": [
|
|
{
|
|
"name": "Razor Leaf",
|
|
"cost": [
|
|
"grass",
|
|
"colorless",
|
|
"colorless"
|
|
],
|
|
"damage": 60,
|
|
"damage_modifier": null,
|
|
"effect_text": null,
|
|
"effect_id": null
|
|
}
|
|
],
|
|
"weakness": {
|
|
"type": "fire",
|
|
"value": 20
|
|
},
|
|
"resistance": null,
|
|
"retreat_cost": 2,
|
|
"flavor_text": null,
|
|
"illustrator": "Kurata So",
|
|
"image_file": "a1/002-ivysaur.webp"
|
|
} |