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
src
directory - Run
pip3 install -r requirements.txt
to install dependencies - Run
python3 bot.py
to 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/