@Dragons_Whore I built my own downloaded in the past. Though it worked differently. I was reading your GitHub page and from my understanding, it gets what's available like the index.html and some other things I think. But some sites use Base64 images which means your downloader will work offline or if the site ever goes dark.
But I'm not seeing anything that grabs any images stored in wwwroot. Unless I missed that. Some sites as well use off site hosting for images.
My downloader worked a bit different. It would grab the index.html and all files detected like images, video's, etc. If it was Base64, it auto converted and normalized the site for significantly better performance. It then found the offsite images as well best it could and made it offline compatible as well.
The code isn't perfect, but if I remember correctly I had I want to say a 60% to 80% success rate on all sites. I know that's a large range lol, but it has been a while. But in the end, the files were normalized, offline compatible, altered the actual code to target the offline version, and made the sites smaller and more performant as well. Plus there's a variety of games that don't load images properly. Even though the images are 100% fine, it was just coded wrong. And so CYOA's that look broken to us was also fixed by my downloader. Which is cool.
I've just seen too many games over the decade go dark due to hosting. If you're familiar with tfgames.site I did the same thing for all their RAG games since it's not playable anymore on modern PC's. And I mass archived the existing (because many were lost) games and converted 133 games to a playable offline HTML state. I'm pretty sure I'm like the only person with those CYOA kind of games left in a playable state. If the games are even recoverable anymore. I tried posting it on tfgames.site but the mods got mad at me and told me to bug off. It was very weird.
Anyways, I'm more than happy to share notes, code, and more if you're interested. I just don't post them because I don't really have time to maintain anything right now. But I'm more than happy to pass over the work to someone else who'd want it.
Lastly, sorry for this being so long. I just care about archiving. Sites go dark, it happens. Hosting will fail as well. Sites that allow these kind of games/uploads eventually change their policy. There's already lost interactive CYOA's due to this issue. So if you're ever interested in my code or archival, I'd be happy to help.