WhatsApp Web Image Extraction Automation | Generated by AI

Home 2026.05

Here’s the situation and what you need to do:


ww image whatsapp is built and installed

The command is ready at /Users/lzwjava/projects/ww/ww/image/whatsapp.py. It uses Safari’s do JavaScript AppleScript to find the last message on WhatsApp Web, draw all its images to canvas, extract as JPEG, and save.

One-time setup required (Apple won’t let me automate this — sandbox blocks even root):

  1. Open Safari → SettingsAdvanced tab
  2. Check “Show features for web developers” (bottom checkbox)
  3. Now in the menu bar: Develop“Allow JavaScript from Apple Events” — make sure it’s checked

That’s it. Then run:

ww image whatsapp

It will:

The 4 base64 JPEG thumbnails from your shared HTML are real images but I can’t extract them here (they’re embedded in your message context, not accessible via terminal). Once you enable the Safari setting and run the command with WhatsApp Web open to that message, you’ll get all images including the full-resolution ones behind the blobs.


Back Donate