This commit is contained in:
2023-12-20 17:48:57 +08:00
parent 8142179166
commit 9089310c84
4 changed files with 109 additions and 1 deletions

View File

@@ -39,6 +39,8 @@ for s in src:
if "add-group" in s and s["add-group"] and "name" in s and s["name"]:
add_group = True
ori = load(get_src(s), Loader=SafeLoader)
if ori is None:
raise ValueError(f"Failed to download src: {s}")
dest["proxies"] += ori["proxies"]
dest["proxy-groups"] += ori["proxy-groups"]
if add_group: