Skip to content

Python library to download audio files from the Cambridge Dictionary

License

Notifications You must be signed in to change notification settings

astrosander/cambridge-dictionary-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cambridge-dictionary-audio

Logo

A progressive framework for scraping audio files of word pronunciations from the dictionary.cambridge.org




Quick start▶️

The simplest method is to install the portable version using the .exe file, available at this link.
Or install with python:

Python Installation

Alternatively, you can install the tool using Python. Download or clone the GitHub repository and install the necessary requirements with:

pip install -r requirements.txt

Launch the Scraper:

Run main.py or open start.bat after installation.

Usage:

After launching, input the desired word or phrase and wait for approximately 1-2 seconds(depending on your internet speed). The downloaded .mp3 file will appear in the designated folder, and the sound will play automatically.

Commands ⌨️

/r - remove all .mp3 in the current folder

/m - enable/disable automatic audio playback

Plans for future📜

  • Add a display of transcriptions and translations
  • Make add-on in Anki
  • Reduce delay time⏳