I’ve long enjoyed this workflow, but it needed a little love, and I ended up rewriting it in Ruby b/c I tend to prefer that over PHP.
You can find a copy of it in at jeffbyrnes/alfred-itunes-artwork-search on GitHub.
I‘ve tested all three flows, and they all appear to work well! It will work with the copy of Ruby that comes with macOS, and it works with my Homebrew-installed copy as well on macOS 12.5 (Monterey).