Skip to content

Small Python script to fetch pronunciations for a wordlist from Forvo.

Notifications You must be signed in to change notification settings

goulashify/forvo-batch-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forvo-downloader

This tool can be used as a command line utility to download pronunciations for your wordlist, for example, if you're building Anki decks.

REQUIREMENTS

To get started, you'll need:

  • Pipenv: brew install pipenv
  • A Forvo key, get one here
  • A newline delimited wordlist, see provided example

SYNOPSIS

Clone this repository, then:

  • Install dependencies: pipenv install
  • Given running rights: chmod +x cli.py
  • Check out the help menu: ./cli.py -h
  • Simple example: ./cli.py --lang nl --dest ./pronunciations --key ugalabugala ./docs/example_wordlist.txt

LIMITATIONS

The language switch doesn't work yet, go visit the Forvo API demo page, select the language you'd like, do a demo request, grab the language id from there (after id_lang_speak in the URL) and set the constant LANGUAGE_ID in the top of the file to it.

About

Small Python script to fetch pronunciations for a wordlist from Forvo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages