Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.88 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.88 KB

WhatBot

demomstration

About

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.

Requirements

forthebadge

Beautifulsoup Requests Selenium ChromeDriver

Skill Skill

How to set up ?

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 !!!

Full Video

Watch full video here