forvo-cli 0.1.3

Play Forvo pronunciations directly from the terminal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Author(s): @urbanij,
 */

fn main() -> Result<(), std::io::Error> {
    
    let word = "rijksmuseum";
    
    let results = forvolib::retrieve_audios(word)?;

    println!("{} pronunciations found for {}:\n", results.len(), word);

    for audio_url in results {
        println!("https://forvo.com/player-mp3Handler.php?path={}", audio_url);
    }

    Ok(())
}