Answer the question
In order to leave comments, you need to log in
How to parse whatsapp chats from the web?
There was a task to parse whatsapp chats. I want to implement this in python using, I think, Google dorks, but I don’t quite know what queries are needed to search for chats. How can this be done without Google blocking?
Answer the question
In order to leave comments, you need to log in
Whatsapp does not have this functionality. The web version works through the phone, and the API is closed to ordinary people, access for money and after Facebook has verified your business. There are various crutches to get around this (mostly used to create their own bots), but in general, the reliability of everything is low.
So you can parse only the history uploaded to the manual from the chat (there is such an opportunity in the client).
And so, the lists of group chats are generated manually on specialized sites or local communities, etc. But these are just links to the groups themselves, which you can join (via the client).
In short, it just won't work. Or pay money to those who organize this (but they still usually hang on you to buy a SIM card for binding to a pseudo web interface, and Facebook often blocks, so you need to periodically buy new SIM cards), there is little convenience. Or, in general, messing around with writing your own workarounds is also not ice.
In general, their policy in this regard is fundamentally different from the Telegram approach, for example.
As far as I know, there is only a paid version of Api for it,
here is more information
green-api.com - For tests, it may be suitable
In short:
1. Use Google to search for links to chats using a special format
2. Take Whatsapp Business and a virtual VoIP / SIP number
3. Binding for Python + Selenuim + Appium + Android Emulator
4. Enter all the necessary chats in the emulator
5. Emulate scroll to the top and start parsing
Good luck!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question