Coder Social home page Coder Social logo

informer-python's Introduction

Informer-python

Requirements

  • Python 3
  • Selenium
  • Firefox Browser
  • Geckodriver

Usage

git clone https://github.com/Arnab771/Informer-python.git
cd Informer-python
sudo python3 -m pip install -r requirements.txt

For windows replace third line with pip install -r requirements.txt

Download geckodriver from here

Add the geckodriver to path. This will depend on the what terminal your using on OS X and Linux (e.g. zsh or bash). After that open the config.py file and put the path of your audio with audio = 'path/to/audio.mp3'.

Once done, head to the Informer-python directory and run python3 informer.py and for windows, python informer.py.

Enter the name of the person and press enter, a Firefox browser window will open with URL https://web.whatsapp.com. Scan the QR code with your whatsapp app on your phone. Open the Chat of the person to track. DO NOT CHNAGE IT! Now you may minimize the window(This is recommended as Whatsapp will show you offline). This script will play the audio whenever the person goes online. The entire data is saved to informer.db. You may use the sqlite3 command line tool or download sqlitebrowser from here. For Debian or Ubuntu derivatives use sudo apt install sqlitebrowser.

informer-python's People

Contributors

iam-arnab avatar

Stargazers

 avatar Sayantan Kar avatar Joan Szodo avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.