Skip to content

A python script that scrapes www.dictionary.com to display the word of the day, its meaning and its description in the terminal.

Notifications You must be signed in to change notification settings

SwarajBaral/word-of-the-day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

word-of-the-day

A python script that scrapes Dictionary to display the word of the day, its meaning and its description in the terminal. Can be added to bashrc to run it everytime you open cmd or terminal.

Getting Started

Packages

-Selenium - to be used as Selenium webdriver. To install the required packages for this script. Navigate to the repository on your local machine run the following command in the terminal.

$ pip install -r requirements.txt

Usage

To run the script

$ python wotd.py

Built with

Python 3.8.3rc1

Author

Swaraj Baral - Student


NOTE : The script wont work if correct browser driver path isn't provided. The webdriver has to be chosen according to the user's web browser and browser version.

  • To use a different web browser or a different version of a browser.
    1. Download the latest version of preferred browser
    2. Change the executable_path = ' ' parameter. Set it to the location of your driver.
    browser = wb.Chrome(executable_path='<path of driver>/<broswer driver>.exe', options=options)

About

A python script that scrapes www.dictionary.com to display the word of the day, its meaning and its description in the terminal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages