Script to grab all of the vocab words from the Deutsche Welle lessons and create Anki flashcards. Flashcards use the audio and images for each word if they exist.
- Start Anki and install the AnkiConnect addon.
- Edit hardcodes until options are ever added.
- Deck name. This needs to be created in Anki as well
- python3 -m venv area_name
- cd area_name
- git clone [email protected]:brkhrdt/dw_anki.git
- cd dw_anki
- python3 setup.py install
- dw_anki "< vocabulary review URL (the one ending with /lv >"
Downloads all images to $PWD/images and audio to $PWD/audio.
To resize audio/images in linux: find . -maxdepth 1 -iname "mp3" | xargs -L1 -I{} lame -b 32 "{}" 32/"{}" find . -maxdepth 1 -iname "" | xargs -L1 -I{} convert -resize 25% "{}" resized/"{}"