自动获取SS无链接暗袜账号并测试连接速度
auto-ss的Python项目详细描述
自动获取ss-link免费的shadowsocks帐户
如果要使用auto ss,需要注册一个ss-link account。免费的shadowsocks帐户在a period time中无效,如果帐户无效,则需要再次运行auto-ss
版本
auto ss与python2.7+配合使用
安装
pip/easy_安装
$ pip install auto-ss
或
$ easy_install auto-ss
Github
$ pip install git+https://github.com/steven-hl/ss-link-auto.git
注
如果在模式speed或run下运行auto ss,则需要安装shadowsocks 首先。
用法
$ auto-ss -h usage: auto-ss [-h][--mode MODE][--timeout TIMEOUT] email password Auto acquire ss-link free shadowsocks accounts. positional arguments: email ss-link email password ss-link password optional arguments: -h, --help show this help message and exit --mode MODE run mode, deault `avaiable`. if mode is `speed`, will test network connection --timeout TIMEOUT connection timeout in seconds, default 10
演示
在可用模式下运行
➜ ~ auto-ss xxx@xxx.com xxx ############### 2015-08-27 23:19:30 Shadowsocks Accounts ############### server_address server_port server_password encrypt_method========================================================================76.164.197.155 998082057967 aes-256-cfb 72.46.135.119 998082057967 aes-256-cfb 173.252.220.201 998082057967 aes-256-cfb 104.250.144.10 998082057967 aes-256-cfb 104.250.143.243 998082057967 aes-256-cfb 104.250.146.37 998082057967 aes-256-cfb 104.250.146.212 998082057967 aes-256-cfb 104.250.147.22 998082057967 aes-256-cfb
以速度模式运行
它将通过视图https://www.google.com.hk
➜ ~ auto-ss xxx@xxx.com xxxx --mode speed ############### 2015-08-27 23:29:56 Shadowsocks Accounts ############### server_address server_port server_password encrypt_method========================================================================76.164.197.155 998082057967 aes-256-cfb 72.46.135.119 998082057967 aes-256-cfb 173.252.220.201 998082057967 aes-256-cfb 104.250.146.212 998082057967 aes-256-cfb 104.250.144.10 998082057967 aes-256-cfb 104.250.143.243 998082057967 aes-256-cfb 104.250.146.37 998082057967 aes-256-cfb 104.250.147.22 998082057967 aes-256-cfb ########################### Connection Test ############################ 76.164.197.155 speed is: 6kb/s 72.46.135.119 speed is: 8kb/s 173.252.220.201 speed is: 3kb/s 104.250.146.212 speed is: 9kb/s 104.250.144.10 speed is: 7kb/s 104.250.143.243 speed is: 7kb/s 104.250.146.37 speed is: 4kb/s 104.250.147.22 speed is: 8kb/s