Slackbot that informs COVID-19 confirmed cases today
Production process in here
- Slackbot was born
- It helps users to know how many COVID-19 confirmed cases have ocurred today
- Add image showing the trend of COVID-19 confirmation and cure using PyAutoGUI and Selenium
- Add your Slackbot in here
- Copy your API token
- Paste it in
slackbot.py
pip install slacker
pip install bs4
pip install selenium
pip install pyautogui
- in here (before downloading, check your Google Chrome version)
- Enter the path where chromedriver is saved in Line 37.
- Then, enter the path to save screenshots taken by PyAutoGUI in Line 44.
- the bot token in Line 8
- the Slack channel that the bot will send messages to in Line 14 instead of #bots-playground
python -m venv "your virtualenv name"
source "your virtualenv name"/bin/activate
python3 slackbot.py