italoseara / whatsappy

A whatsapp api made with selenium in Python
MIT License
43 stars 8 forks source link

Generate a session to prevent logging in every time #5

Closed nextin-wu closed 3 years ago

nextin-wu commented 3 years ago

1.Can you generate a session to prevent logging in every time? 2.Can whatsapp add a number that is not in the address book into the group?

italoseara commented 3 years ago

1 - i already did it, but it still happens when you close the python console without closing the webbrowser, so, you should try to put whatsapp.close() in the end of the program to prevent this kinds of bugs (i'll try to solve this in the next update)

2 - Yes, but only with invite link, i'll create a function for that, meanwhile you can do it using the existing functions