Download images and videos from a WhatsApp group chat.
- Node.js 16+
- npm
npm installnpm start- Scan the QR code with WhatsApp on your phone (Settings → Linked Devices).
- Search for a group name or press Enter to list all groups.
- Select a group by number.
- The tool fetches all messages and downloads every image/video into
downloads/<date>/.
Authentication is persisted in the session/ folder via LocalAuth. You will only need to scan the QR code once. To force re-authentication, delete the session/ folder.
Files are named as <timestamp>_<sender>.<ext> and organized by date.
- Includes media sent by you (
fromMemessages are no longer excluded). - Failed downloads are retried up to 3 times before being skipped.
- Already-existing files are skipped.