domain-blocklist is an application for generating DNS blocklists for the Unbound server. Right now it's about half done, probably.
Unbound has a feature that cuts off entire trees of domains. If its config files contain the line
local-zone: "advertising.example.com." always_nxdomain, it will act as though that domain and all subdomains do not exist.
domain-blocklist downloads lists of advertising domains and renders them in this format.
These lists are long, and Unbound's memory consumption increases when they're all loaded up. Not to an unbearable degree in my testing, but we'll see. It may be worth pursuing alternative solutions, like interacting with Unbound's python extension module.