Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cambridge-Dictionary

⚠️ This project is abandoned and archived.

Cambridge Dictionary added Cloudflare bot-protection that blocks the scraping this tool relied on, so it no longer works and won't be updated.

Use Shabd instead — a full-featured continuation of this project. It's a proper offline-first CLI dictionary (via Open English WordNet), handles inflected word forms, and is installable straight from PyPI (pip install shabd).

Cambridge dictionary CLI which also caches the words and meanings in a local database

To setup first install:

  1. pip install requests
  2. pip install bs4

Usage:

python cambridge.py word


Usage tutorial

asciicast


Once you search for the word and gets the meaning, it saves it into a local database from which it retrieves them if you search for the same word again in the future instead of fetching it from the server. This makes it quick, run even when there's no internet connection (assuming that your local database is of substantial size) and prevents making too many queries to the server.

About

Cambridge dictionary CLI using Beautiful Soup and sqlite3 database

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages