mirror of
https://github.com/mahdibland/V2RayAggregator.git
synced 2026-06-06 21:16:17 +08:00
⭐️ Fix Issue
This commit is contained in:
parent
e2965c598a
commit
cc494c879e
@ -485,21 +485,29 @@ class subs:
|
||||
cl_temp = yaml.safe_load(
|
||||
str(cl_res[0]))
|
||||
if cl_temp != None:
|
||||
if cl_temp['type'] == "ss":
|
||||
if cl_temp["cipher"] != "chacha20-poly1305":
|
||||
safe_clash.append(cl_res)
|
||||
else:
|
||||
bad_lines += 1
|
||||
|
||||
elif cl_temp['type'] == "vmess":
|
||||
if cl_temp["network"] == "h2" or cl_temp["network"] == "grpc":
|
||||
if "tls" in cl_temp and cl_temp['tls'] == False:
|
||||
if cl_temp['uuid'].__len__() != 36:
|
||||
bad_lines += 1
|
||||
|
||||
else:
|
||||
if cl_temp['type'] == "ss":
|
||||
if cl_temp["cipher"] != "chacha20-poly1305":
|
||||
safe_clash.append(cl_res)
|
||||
|
||||
else:
|
||||
bad_lines += 1
|
||||
|
||||
elif cl_temp['type'] == "vmess":
|
||||
if cl_temp["network"] == "h2" or cl_temp["network"] == "grpc":
|
||||
if "tls" in cl_temp and cl_temp['tls'] == False:
|
||||
bad_lines += 1
|
||||
else:
|
||||
safe_clash.append(cl_res)
|
||||
|
||||
else:
|
||||
safe_clash.append(cl_res)
|
||||
|
||||
else:
|
||||
safe_clash.append(cl_res)
|
||||
|
||||
else:
|
||||
safe_clash.append(cl_res)
|
||||
|
||||
except Exception as e1:
|
||||
bad_lines += 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user