diff --git a/clash/clash-darwin-amd b/clash/clash-darwin-amd index bad6828d9..eea48bc11 100644 Binary files a/clash/clash-darwin-amd and b/clash/clash-darwin-amd differ diff --git a/clash/clash-darwin-arm b/clash/clash-darwin-arm index 9d8e391d7..51edaaed9 100644 Binary files a/clash/clash-darwin-arm and b/clash/clash-darwin-arm differ diff --git a/clash/clash-linux-amd b/clash/clash-linux-amd index 83de649e6..4a9ac4bfa 100644 Binary files a/clash/clash-linux-amd and b/clash/clash-linux-amd differ diff --git a/clash/clash-linux-arm b/clash/clash-linux-arm index 94a604c5f..a8505222a 100644 Binary files a/clash/clash-linux-arm and b/clash/clash-linux-arm differ diff --git a/clash/clash-windows-amd.exe b/clash/clash-windows-amd.exe index 93ec7bb47..9f18410d8 100644 Binary files a/clash/clash-windows-amd.exe and b/clash/clash-windows-amd.exe differ diff --git a/tools/xui.py b/tools/xui.py index 1772ea27f..1110d012d 100644 --- a/tools/xui.py +++ b/tools/xui.py @@ -513,6 +513,9 @@ def cmp(url: str) -> str: domain = extract_domain(url=line, include_protocal=False) if domain: + if not line.startswith("https://") and not line.startswith("http://"): + line = f"http://{line}" + groups[domain].add(line) # under the same domain name, give priority to URLs starting with https://