-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclusion Question #67
Comments
The exclusions seem to be applied to the source format, in your case hosts. Therefore, you must include
|
I just thought of something that would make my train of thought work: a convert transformation. This transformation would only do the first step of the compression process but not the second. This way, I could convert the individual lists into the adblock format with all of the subdomains still present:
Then during the global transformation at the end of the json file, where I have my global exclude.txt file, hopefully it will read it, see that I don't want
I've been using the exclusion_source function incorrectly, thinking that hostlistcompiler would know that while I don't want the base domain blocked, I do want to block the subdomains.
And if it looks like this:
The final result would just be |
I'm trying to figure out if there is an easy way or something that I'm overlooking when trying to only save the subdomain entries and eliminate the main domain entries. I'm using
doubleclick.net
as an example. In this json file, I have an exclusion file and the only entry is||doubleclick.net^
because I thought that would prevent hostlistcompiler from compressing down to the top domain:However, this is not the case and it's still compressing to
||doubleclick.net^
and removing the subdomain entries. I'm also very tired so like I said, I could be overlooking something that is very obvious.The text was updated successfully, but these errors were encountered: