This is a WhatsApp bot that scrapes data from web on basis of queries provided in chat. It fetches data like,
- Temperature of Cities.
- Top 5 results of entered product from Amazon.in.
- Hindi translations of words.
Install the above mentioned libraries(Libs) from pip.
Other libraries are common ones(eg: re), can be seen in source code. Install as per your convenience.
Install latest version of Chromedriver for your operating system.
While running the code you will have to do the web whatsapp QR verification manually (only once).
Type anything on the chat, from any device and the bot will respond.
Precautions : In case scraping from Whatsapp doesn't work (since the UI keeps changing), make the required changes in selectors. Feel free to raise an issue and make a pull request with a sample image after making changes and running locally.
Explore !!!
Watch full video here
Watch full video here