Skip to content

Extracting Live Location data using Whatsapp!

wanderloop edited this page May 1, 2020 · 3 revisions

We have developed a selenium bot(Whatsapp_automation.py) that handles and extracts live location data that people have sent to you/local server. After successful extraction it uploads that data into a database and in a text file. Make sure you have the right webdriver version that fits your local chrome version. The chrome webdriver is included in this repo and cloned with it. You have to change it depending on the type of machine you are using and the chrome version.

if you are using python 3 just simply open the Whatsapp_automation.py in idle and press F5 The process will start, once the browser is opened you have to scan the QR to access your whats-app, Make sure you keep the contact in front pane low to get quicker results (Note this will work on a greater number of contacts also) but for starter keep contacts in front pane 2 to 3.

  • Make sure that 2 to 3 contacts have sent you live location through Whatsapp
  • Make sure that contacts in your front pane should not be in any whats-app group with you.
  • You have to make an empty Whatsapp group via your phone and set it to name 'UPPP' and make sure you are the only person in it.

If all the things go correctly you have now a local Whatsapp based live location extractor that saves live location data of people in a proper format to be analyzed later in the database file

sql_database.csv

The SQL script is also available, to run this you should have SQL workbench

sql_base.sql