I am trying to mirror a website.
It follows a simple scheme of .htm files but there is one catch. Each file contains the following line:
<img width="100%" src="http://DOMAIN.org/CREATE_IMAGE.php">
I need to download this image, but httrack and wget both ignore the script outputs when downloading a file.
The php script does not take any parameters. It determines which image to output internally. Each .htm file gets a different output. So I can't simply call the php file. It needs to be downloaded as some kind of dependency of the corresponding .htm file.
How can I configure wget or httrack or really any other tool to get what I need?