Spaces:
Running
Running
Update server/decoder.py
Browse files- server/decoder.py +1 -2
server/decoder.py
CHANGED
@@ -59,8 +59,7 @@ class ListDecoder(BaseDecoder):
|
|
59 |
vmess_info_str = json.dumps(vmess_info_json,ensure_ascii=False)#不转译中文
|
60 |
if ('倍率提示'not in vmess_info_str)and('导航' not in vmess_info_str) and('443' not in vmess_info_str):
|
61 |
yield config_str.replace('allowInsecure=0', 'allowInsecure=1')
|
62 |
-
if ("ss://" in config_str) and ("套餐" not in nameinfo) and('到期' not in nameinfo) and('流量' not in nameinfo)
|
63 |
-
and('剩余' not in nameinfo) and ('专线' not in nameinfo):
|
64 |
#shadowsocks节点保留
|
65 |
yield config_str
|
66 |
|
|
|
59 |
vmess_info_str = json.dumps(vmess_info_json,ensure_ascii=False)#不转译中文
|
60 |
if ('倍率提示'not in vmess_info_str)and('导航' not in vmess_info_str) and('443' not in vmess_info_str):
|
61 |
yield config_str.replace('allowInsecure=0', 'allowInsecure=1')
|
62 |
+
if ("ss://" in config_str) and ("套餐" not in nameinfo) and('到期' not in nameinfo) and('流量' not in nameinfo) and('剩余' not in nameinfo) and ('专线' not in nameinfo):
|
|
|
63 |
#shadowsocks节点保留
|
64 |
yield config_str
|
65 |
|