The following is the link to Goole dictionary pronunciation files:
http://ssl.gstatic.com/dictionary/static/sounds/20160317/pronunciation--_us_1.mp3
If you substitute "pronunciation" with your own word, you get that word's pronunciation.
I wonder if it is possible to develop a script in mac which allows the user to type his word and the script fetches its pronunciation through the above link. I can already use the automator to fetch the definition for a new word (by using the code presented here) through the link below by adding words after the equal sign.
https://www.google.com/search?sa=X&biw=1440&bih=737&q=Dictionary#dobs=
But I don't know how I can insert words in the mentioned place in the pronunciation link.