Simple server to take advantage of Yomichan's custom audio sources feature. Requires Anki Connect. It web scrapes Forvo's search and word page to get a list of words.
Prerequisites:
- Anki
- Yomichan
- Anki Connect
Install:
- Copy the code and install like you would for any other Anki addon
- Restart Anki
- Allow network connections (required since this is a local server)
- In yomichan settings, go to Audio > Configure Audio Playback Sources > Custom Audio Source
- Select Type as JSON and set URL to http://localhost:8770/?term={term}&reading={reading}
- In your Audio Sources list below, make sure one of them is set to Custom
Now when you scan a word in Yomichan, you should be able to right click the audio icon and the Forvo custom audio sources should appear.