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.
-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
To run the script
$ python wotd.py
Python 3.8.3rc1
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.
- Download the latest version of preferred browser
- 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)