I've done something similar in the past, scraping images + info and then used genanki I think to make the deck.
Works fine for my basic cards at least.
Though I'd prefer to be able to use normal bash tools to manipulate markdown cards.
I think there are solutions to generate anki decks from markdown or anki alternatives that use markdown cards directly, but using genanki ended up being sufficient and giving me enough flexibility, considering I wouldn't be editing the deck much after.
Honestly, I think what worked best for me was CSV import. The downside of course is that I cannot easily edit or add to the deck in this way.
I should emphasize that in the process of going through the deck I was able to improve quality significantly. I changed many of the photos and added helpful notes so the script was really just a means to get the initial deck. A lot of the creation process occurred as I was reviewing and editing.
I've done something similar in the past, scraping images + info and then used genanki I think to make the deck. Works fine for my basic cards at least.
Though I'd prefer to be able to use normal bash tools to manipulate markdown cards.
I think there are solutions to generate anki decks from markdown or anki alternatives that use markdown cards directly, but using genanki ended up being sufficient and giving me enough flexibility, considering I wouldn't be editing the deck much after.