HostlistCompiler icon indicating copy to clipboard operation
HostlistCompiler copied to clipboard

Remove blank lines

Open liang-hiwin opened this issue 3 years ago • 2 comments

NP $6J%EBC)3IZ@GN0Q7T

https://github.com/AdguardTeam/HostlistCompiler/issues/25

liang-hiwin avatar Feb 13 '22 07:02 liang-hiwin

@thb007 could you please show the configuration file as well?

ameshkov avatar Feb 20 '22 14:02 ameshkov

@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"]
}


liang-hiwin avatar Feb 24 '22 14:02 liang-hiwin