I'm trying to parse an old site we have. Mojo::DOM makes it easy to get most things, but I can't figure out how to parse some Javascript code. There's a function which has a URL:
If I have the whole page in a string how can I find this image URL via a regex?