Browse Source

Update config for Free-Node

main
vpei 6 months ago
parent
commit
0274cc808c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      cls/SubConvert.py

+ 3
- 3
cls/SubConvert.py View File

@ -168,9 +168,9 @@ class SubConvert():
onenode = base64.b64decode(StrText.get_str_base64(nod[0]).encode('utf-8')).decode('utf-8') + '@' + nod[1]
else:
onenode = base64.b64decode(StrText.get_str_base64(nod[0]).encode('utf-8')).decode('utf-8')
if (onenode.find('ss://') == 0 and onenode.find('@') > -1):
nod = onenode.split('@', 1) # 第二个参数为 1,返回两个参数列表
onenode = base64.b64decode(StrText.get_str_base64(nod[0][5:]).encode('utf-8')).decode('utf-8') + '@' + nod[1]
if (onenode.find('ss://') == 0 and onenode.find('@') > -1):
nod = onenode.split('@', 1) # 第二个参数为 1,返回两个参数列表
onenode = base64.b64decode(StrText.get_str_base64(nod[0][5:]).encode('utf-8')).decode('utf-8') + '@' + nod[1]
#aes-256-gcm:n8w4StnbVD9dmXYn4Ajt87EA@212.102.54.163:31572
cipher = onenode.split(':')[0]
port = onenode.rsplit(':', 1)[1]


Loading…
Cancel
Save