Created
July 24, 2011 20:14
-
-
Save m039/1103053 to your computer and use it in GitHub Desktop.
Get an audio file from the Google Translate.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Author: m039 <flam44 (at) gmail (dot) com> | |
wget --user-agent --referer='http://translate.google.com' "http://translate.google.com/translate_tts?ie=UTF-8&tl=ja&q=$1" -O ~/.anki/decks/MNN\ I.media/${1}.mp3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment