Skip to content

piyushsharma220699/Automated-Whatsapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Automated Whatsapp

Usually, my close friends WhatsApp me late at night regarding some work thinking that I'm awake and will reply before morning. Thus, I made this WhatsApp bot using selenium in Python which automatically responds to your close friend's text (if they send one) that you're sleeping and thus won't be able to reply before morning! Also, when you wake up, you'll know who texted you!

Requirements

  1. Python 3.x with selenium installed
  2. Chrome Driver

Install Python from here: https://www.python.org/downloads/

Install Selenium Using command: pip install selenium

Install Chrome Driver:

  1. Go to Customize and Control Google Chrome > Help > About Google Chrome to check the version of Chrome Driver. save2

  2. Click on https://chromedriver.chromium.org/downloads and download the desired driver.

How to use the bot?

  1. Run the code.
  2. The code will automatically open Whatsapp Web in Chrome where you're supposed to scan the QR code. whatsapp_web
  3. Sleep Well! :)

Working of the bot

reply After every 5 minutes, the bot checks for every person you've specified in the closefriends list, that if there is any unread text from their side or not. If you've received one, then it replies with the message specified. Else does nothing.

Limitations(Future Scope)

  1. This is a bot for website verison of Whatsapp(Whatsapp Web) only, however we can extend it to the Desktop Application version too.
  2. The QR code needs to be scanned manually every time you run the code.
  3. Security concern is there as one is supposed to keep the Whatsapp Web open the whole night, however you can run the code and put the laptop on sleep mode the code will still run.

About

Automated WhatsApp replies using selenium module in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages