- 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
41 lines
967 B
JSON
41 lines
967 B
JSON
{
|
|
"id": "a1-003-venusaur",
|
|
"name": "Venusaur",
|
|
"set_code": "a1",
|
|
"set_name": "Genetic Apex",
|
|
"card_number": 3,
|
|
"rarity": "Rare",
|
|
"card_type": "pokemon",
|
|
"image_url": "https://assets.pokemon-zone.com/game-assets/CardPreviews/cPK_10_000030_00_FUSHIGIBANA_R.webp",
|
|
"source_url": "https://www.pokemon-zone.com/cards/a1/3/venusaur/",
|
|
"hp": 160,
|
|
"pokemon_type": "grass",
|
|
"stage": "stage_2",
|
|
"evolves_from": "Ivysaur",
|
|
"is_ex": false,
|
|
"abilities": [],
|
|
"attacks": [
|
|
{
|
|
"name": "Mega Drain",
|
|
"cost": [
|
|
"grass",
|
|
"grass",
|
|
"colorless",
|
|
"colorless"
|
|
],
|
|
"damage": 80,
|
|
"damage_modifier": null,
|
|
"effect_text": "Heal 30 damage from this Pokémon.",
|
|
"effect_id": null
|
|
}
|
|
],
|
|
"weakness": {
|
|
"type": "fire",
|
|
"value": 20
|
|
},
|
|
"resistance": null,
|
|
"retreat_cost": 3,
|
|
"flavor_text": null,
|
|
"illustrator": "Ryota Murayama",
|
|
"image_file": "a1/003-venusaur.webp"
|
|
} |