That's a nice idea, ping if you do get it working.
> How do you maintain the white list of domains for netflix/prime/disney+?
You can use any of existing whitelists for domains like this: https://raw.githubusercontent.com/JO2EY/Rules/master/Surge/R...
Domains for me are hardcoded, i recompile to change them (not ideal, i only did it to experiment and it's good enough so it stuck, also not much ram)
If things stop working I look at logs and update.
On other environments you could just present domains in a UI and have user block/allow/permanent block and hide. (that would be fine for me)
I am using NixOS and consuming my own infrastructure definition, so the config is currently not portable, but I have been thinking about splitting it out into multiple files and publishing it.
How do you maintain the white list of domains for netflix/prime/disney+?