- Runtime: Python 3.5
To run selenium you need gecko driver, in case you haven't set it up till now: you can download it from here. And place it in the path.
mkvirtualenv whatsapp_scraper --python=python3
workon whatsapp_scraper
pip install selenium
python whatsapp_web.py
(Scan the QR code)
Script takes around 10mins to run(for open 128 open chats), as WhatsApp loads chat dynamically. Feel free to contact me if you have any questions or concerns regarding the script.