Skip to content

A web-scrapper script to make consults to Advanced Cambridge Dictonary using shell command line.

License

Notifications You must be signed in to change notification settings

i-am-nut/pycambridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pycambridge

A web-scrapper script to make consults to Advanced Cambridge Dictonary using shell command line.

Example

$ pycamb.py hire
  • The syntax of the command is pycamb.py :word: :category: :full(meaning):
  • Pass the word you're looking for
  • The categories may be: ingles , americano, business, exemplos
  • If you want to see all the defitinitios and other diverse examples of the word, set full on the command line
  • $ pycamb.py pace full or $ pycamb.py pace ingles full
  • To see the usage of the command, just type pycamb.py --help
  • To use it as on these examples copy the script to somewhere into PATH and change the python binary used for execution (on the first line of the script) by the one used on your virtual environment for this project. (not reccommended install pip depedencies with sudo). Otherwise: $ python pycamb.py hire

TO-DO

  • some definitions text needs a better regex to display it more readable.

About

A web-scrapper script to make consults to Advanced Cambridge Dictonary using shell command line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages