clash icon indicating copy to clipboard operation
clash copied to clipboard

[Feature] proxy-providers的节点应该可为空

Open ghost opened this issue 3 years ago • 6 comments

Verify steps

  • [X] 我已经在 Issue Tracker 中找过我要提出的请求 I have searched on the issue tracker for a related feature request.
  • [X] 我已经仔细看过 Documentation 并无法自行解决问题 I have read the documentation and was unable to solve the issue.

Description

proxy-providers中通过url获取到的节点可以为空。 在实际使用中,proxy-providers被广泛用于根据地区分组节点,例如 HK: type: http url: "https://api.v1.mk/sub?target=clash&url=你的订阅链接&list=true&udp=true&include=(?=.*(\u9999\u6E2F|HK|(?i)Hong))" interval: 3600 path: ./hk.yaml health-check: enable: true interval: 600 url: http://www.gstatic.com/generate_204 当无符合地区节点时,clash直接报错无法启动!

Possible Solution

No response

ghost avatar Feb 16 '22 12:02 ghost

有同样的问题

ileeoyo avatar Mar 28 '22 09:03 ileeoyo

+1

gdyan2001 avatar Apr 10 '22 17:04 gdyan2001

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jun 10 '22 02:06 github-actions[bot]

我也有类似问题,希望允许存在空节点组。 https://github.com/Fndroid/clash_for_windows_pkg/issues/3117

PingZi-Wing avatar Jun 11 '22 09:06 PingZi-Wing

一个曲线救国的方法https://github.com/Dreamacro/clash/issues/2175#issuecomment-1159468812

PingZi-Wing avatar Jun 18 '22 13:06 PingZi-Wing

+1 希望provider的filter没匹配到不直接报错,有些机场可能会下线某个地区节点,造成报错

zuluion avatar Aug 13 '22 08:08 zuluion

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Nov 05 '22 02:11 github-actions[bot]