Skip to main content

Clash Auto Select

PostsClashLess than 1 minuteAbout 76 words

Edit Parsers

Clash for Windows[1]

Dashboard > Profiles > Right Click on the profile > Parsers > Edit Parsers

Example Parser[2]

parsers:
  - reg: https?:\/\/.+
    yaml:
      append-proxy-groups:
        - url: http://www.gstatic.com/generate_204
          interval: 300
          name: auto
          type: url-test
      commands:
        - proxy-groups.auto.proxies=[]proxyNames
        - proxy-groups.0.proxies.0+auto

Reference


  1. https://docs.cfw.lbyczf.com/contents/parser.htmlopen in new window “配置文件预处理 | Clash for Windows” ↩︎

  2. https://lancellc.gitbook.io/clash/clash-config-file/proxy-groups/autoopen in new window “Auto - Clash” ↩︎