HostlistCompiler
HostlistCompiler copied to clipboard
Remove blank lines
https://github.com/AdguardTeam/HostlistCompiler/issues/25
@thb007 could you please show the configuration file as well?
@thb007 could you please show the configuration file as well?
{
"name": "dns",
"description": " rules include adgk, adg-kall, AdGuard DNS filter " ,
"homepage": "https://xxx",
"sources": [
{
"name": "adg-kall",
"source": "https://www.xxx.com/adg-kall.txt",
"type": "hosts",
"transformations": ["RemoveComments", "Compress","RemoveModifiers","Validate","Deduplicate"]
},
{
"name": "AdGuard DNS filter",
"source": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt",
"type": "hosts",
"exclusions_sources": ["../global_exclusions.txt"],
"transformations": ["RemoveComments", "Compress","RemoveModifiers","Validate","Deduplicate"]
},
{
"name": "adgk手机去广告规则",
"source": "https://xxx/ADgk.txt",
"type": "hosts",
"transformations": ["RemoveComments", "Compress","RemoveModifiers","Validate","Deduplicate"]
}
],
"transformations": ["RemoveComments", "Compress","RemoveModifiers","Validate","Deduplicate"],
"exclusions_sources": ["../global_exclusions.txt"]
}