Converts SHV exam questions to .csv for easy anki import.
- Compile with
make build
- Go to the SHV E-Learning and select the desired questions (https://www.shv-fsvl.ch/mein-account/e-learning/#/settings)
- Open Devtools in Firefox, go to the Network Tab and activate "Persist Logs"
- Start the Exam
- Copy the SOAP Response from the request which contains the questions and save as xml
- Run the converter with
./bin/shvtoanki -xml=eLearning.xml -category=Fluglehre
- The utility converts the .xml into a csv and also downloads all question images into the folder
images
use the flag-imgPath
to provide a different folder - Copy all images from the image folder to
~/.local/share/Anki2/User 1/collection.media
- In Anki, click Import,
- Select the generated csv file
- Type: Basic
- Deck: Choose Deck
- leave the rest
- Import
- Have fun learning :)