跳转至

Filter

proxy-providers:
  provider1:
    type: http
    path: ./meta2.yaml
    url: http://example.com/files/meta2.yaml
    interval: 3600
    filter: "(?i)港|hk|hongkong|hong kong"
    exclude-filter: "xxx"
    exclude-type: "ss|http"
    health-check:
      enable: true
      url: https://www.gstatic.com/generate_204
      interval: 300

filter

筛选满足关键词或正则表达式的节点

filter: "(?i)港|hk|hongkong|hong kong"

exclude-filter

排除满足关键词或正则表达式的节点

exclude-filter: "(?i)港|hk|hongkong|hong kong"

exclude-type

不支持正则表达式,通过 | 分割,根据节点类型排除 注意,proxy-groupsproxy-providers 写法不同