Open ghost opened 9 years ago
It is a simple python script which you may have to run on your desktop after logging in to your web version of whatsapp (web.whatsapp.com). The browser window of web whatsapp should be the active window and this scrapes the screen to track and log when the user is online. This is not a great way but this works flawless for me. I use my spare laptop to track an individual user.
C:\Users\inventum>python main.py
Traceback (most recent call last):
File "main.py", line 100, in
Oh it works on Linux and Mac with tesseract installed. The pytesseract library probably calls the tesseract program from the shell so I am not sure if it works on Windows. Make sure PyTesseract works on your system: https://pypi.python.org/pypi/pytesseract/0.1 Try running it on a virtual machine with Ubuntu with all the dependencies installed. It should work. I know this project is not well documented yet. I will do it when I get some time. Thanks.
some improvements for windows users done, this can be tested again
In this case only the PATH environment was missing the tesseract path. This has to be made in setup the environment and cant be solved in runtime. README improved for Windows users (wait for merge or see my fork).
how to run this code. Does it runs on android phone , or it uses some api to connect to whatsapp Or does this code run simply as python script on phone?