Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add scrap_chat() in class Chatroom to scrap full chat of some contact. #27

Open
NavpreetDevpuri opened this issue Oct 12, 2020 · 2 comments
Labels

Comments

@NavpreetDevpuri
Copy link
Member

For now, just scrap text only but we can also scrap images, audio or videos, or stickers.

@Vipul-Bajaj
Copy link
Contributor

What is expected after scrapping text, do u want to copy into some file or anything else?

@NavpreetDevpuri
Copy link
Member Author

@Vipul-Bajaj
You can try, just select multiple messages in WhatsApp and copy those
let me show you and example

[10/11, 10:01 PM] +91 75470 41092: Why do people have negative perspective for Dhruv Rathee? Just curious.
[10/11, 10:02 PM] +91 88792 00285: Because he has been proven wrong so many times, that it is now a default assumption that whatever he says will be false until proven otherwise
[10/11, 10:10 PM] +91 75470 41092: Who has proven him wrong?
[10/11, 10:11 PM] +91 75470 41092: The fun fact is that he never passes his judgment on any issue, he just states facts related to it.
[10/11, 10:22 PM] +91 88792 00285: That's the point. Those aren't facts
[10/11, 10:23 PM] +91 75470 41092: They are facts.


And there is an option to export chat but I noticed it does not work well, I mean I noticed it does not export all old chats and only exports simple text file. There is some bug inside WhatsApp but I believe we can do that with selenium and it sounds interesting like how about if we improve our method at a level that one day it exports a pdf or Html of full chat.
WhatsApp Image 2020-10-13 at 10 50 14 PM

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants