This Python script utilizes Selenium and Openpyxl to scrape phone numbers from a WhatsApp group.
Before running the script, make sure you have the necessary libraries installed:
pip install selenium openpyxl
- Run the script with Python: python main.py
- the browser will Open web.whatsapp.com scan the qr code and open the group info that you want to scrape.
- Open all members of the group list and scroll in the end.
- press enter in the terminal
The script will create an Excel workbook named member_info.xlsx with the extracted phone numbers.
Please use this script responsibly and ensure compliance with WhatsApp's terms of service. Scraping information without permission may violate privacy and terms of use agreements. The developers are not responsible for any misuse of this script.