12 3
Contact Author Sign in to rate

Add Audio and Pronunciation from Merriam-Webster

<10kB. Updated 2020-04-22. Only supports Anki 2.1.x.
The author has shared 35 other item(s).

Description

------------------------------------------- DO NOT INSTALL. THE ADD-ON NO LONGER WORKS WITH THE LATEST ANKI VERSION. It's not maintained. The alternative add-on might be released in the future. ------------------------------------------- A half-working prototype to batch download audio and pronunciation from Merriam-Webster. 1. Open the card browser - select a few cards - menu Edit - Add Merriam-Webster. 2. Select "Source Field". 3. Select "Destination Field" instead of "<ignored>". 4. Click on "Start". If the destination field isn't empty, it'll be skipped. The API Key is limited to 1,000 queries per day (https://www.dictionaryapi.com/info/frequently-asked-questions). Nickolay <kelciour@gmail.com>

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

1878363231

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1612253517
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.39 (576f0043) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-02-02 14:09:21
Add-ons possibly involved: ⁨Add Audio and Pronunciation from Merriam-Webster⁩

Caught exception:
Traceback (most recent call last):
File "urllib3/connectionpool.py", line 696, in urlopen
File "urllib3/connectionpool.py", line 964, in _prepare_proxy
File "urllib3/connection.py", line 366, in connect
File "http/client.py", line 900, in _tunnel
File "http/client.py", line 268, in _read_status
File "socket.py", line 669, in readinto
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "requests/adapters.py", line 439, in send
File "urllib3/connectionpool.py", line 755, in urlopen
File "urllib3/util/retry.py", line 573, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.dictionaryapi.com', port=443): Max retries exceeded with url: /api/v3/references/collegiate/json/thyroid?key=8dbfb9cd-9e43-47b6-a9c6-80153a63a281 (Caused by ProxyError('Cannot connect to proxy.', timeout('timed out')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/annawang/Library/Application Support/Anki2/addons21/1878363231/__init__.py", line 225, in <lambda>
a.triggered.connect(lambda _, b=browser: onAddImages(b))
File "/Users/annawang/Library/Application Support/Anki2/addons21/1878363231/__init__.py", line 218, in onAddImages
updateNotes(browser, nids)
File "/Users/annawang/Library/Application Support/Anki2/addons21/1878363231/__init__.py", line 115, in updateNotes
r = requests.get(query, timeout=30)
File "requests/api.py", line 76, in get
File "requests/api.py", line 61, in request
File "requests/sessions.py", line 542, in request
File "requests/sessions.py", line 655, in send
File "requests/adapters.py", line 510, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.dictionaryapi.com', port=443): Max retries exceeded with url: /api/v3/references/collegiate/json/thyroid?key=8dbfb9cd-9e43-47b6-a9c6-80153a63a281 (Caused by ProxyError('Cannot connect to proxy.', timeout('timed out')))
on 1610008311
Work, very useful. Thank you
on 1609663313
Nice! Works seamlessly. What feature I wanted to have exactly.
on 1608494188
Thank you! Everything works fine, it's just that you have to write the word clearly as it's represented in the dictionary. So if you choose to write "a door" it'll won't work, but just "door" works perfectly. My solution for this is to add one more invisible field where I put "key word" and use this field as a sourse. It's invisible when you revise your cards because you don't add code for it to make it visible.
on 1606800749
good job
on 1604473974
nothing changes
on 1603894451
It doesn't seem to work. It says "1 field updated" but nothing has changed.
on 1602508889
I added this and it shows me "updated 1 note" but I still can't hear any pronunciation
on 1596117370
Is there any way that this works with multiple words in source field?
on 1595886978
Wow, very useful.
on 1587820141
It's working, thanks! But except those with multiple words in source field.
on 1578996887
it does work
on 1575871845
nice one
on 1568104905
Could I apply this to other dictionaries and languages somehow?
Comment from author
Maybe, if the API hasn't changed and the data stored the same way, the add-on will still work with the API key from different Merriam-Webster dictionary, but I haven't tried it and not sure.
on 1567395051
Nicely done thx.