A super simple Telegram bot that given a word it queries and scrapes a dictionary website and answers back its pronunciation and definition!
- Paste token of your bot into
src/config.py
- Install
python>= 3 andpip - Go to
srcdirectory - Run
pip3 install -r requirements.txtto install dependencies - Run
python3 bot.pyto start the bot - Enjoy!
- Install Docker for your plaform
- Run
docker build -t qd-bot . && docker run -d --name qd-bot qd-bot - Enjoy!
https://www.danielemaltese.com/posts/web-scarper-telegram-bot-python/