Lovely little script to pull the latest "News In Slow French" flashcards into Anki.
Bootstrap:
poetry install
poetry run playwright install
Configure:
# settings.toml
[anki]
deck_name = "Français"
collection_fp = "path/to/your/collection.anki2"
# .secrets.toml
[nisf]
username = "[email protected]"
password = "password123"
Run it:
poetry run pull_flashcards