You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
419 B

#!/usr/bin/python
# -*- coding:utf-8 -*-
from ProxyDecoder import Shadowsocks
def decode(url):
'''
代理分享链接解码
链接无效:
return None
链接有效:
return {
'...': '...',
'...': '...',
...
}
'''
try:
return Shadowsocks.ssDecode(url)
except:
pass
return None