Hey! I’ve been working on something similar. AppleScript HTML DOM download images is definitely possible, but it’s not the most efficient way. If you’re okay with a bit of a learning curve, check out `Automator` or `Shortcuts`—they might be easier for this kind of task.
If you’re sticking with AppleScript, here’s a tip: make sure your JavaScript is running after the page is fully loaded. You can use `window.onload` or a delay in AppleScript to handle that.
Also, this site has a great breakdown of DOM manipulation with AppleScript: [link].
If you’re sticking with AppleScript, here’s a tip: make sure your JavaScript is running after the page is fully loaded. You can use `window.onload` or a delay in AppleScript to handle that.
Also, this site has a great breakdown of DOM manipulation with AppleScript: [link].
