This solves so many problems. I always did the manual usb image using dd in shell. Never thought to make it into an app and query apple servers. To be frank, you shouldn’t have too - even Microsoft provides iso for its current operating systems.
And if you have MSDN, historical operating systems as well.