Skip to content

Commit

Permalink
update ss
Browse files Browse the repository at this point in the history
  • Loading branch information
fqrouter committed Oct 31, 2013
1 parent e6dedab commit 9dafe29
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions updater/refresh-ss-list.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ def check_proxy(ip, port, password, encrypt_method):
i = 1
for ip, port, password, encrypt_method in proxies:
if check_proxy(ip, port, password, encrypt_method):
# subprocess.call('cli53 rrcreate fqrouter.com ss%s.a TXT %s:%s:%s:%s --ttl 450 --replace'
# % (i, ip, port, password, encrypt_method), shell=True)
subprocess.call('cli53 rrcreate fqrouter.com ss%s.a TXT %s:%s:%s:%s --ttl 450 --replace'
% (i, ip, port, password, encrypt_method), shell=True)
i += 1
# for j in range(i, 11):
# LOGGER.info('[N/A] ss%s.fqrouter.com' % j)
# subprocess.call('cli53 rrcreate fqrouter.com ss%s.a TXT "" --ttl 450 --replace' % j, shell=True)
for j in range(i, 11):
LOGGER.info('[N/A] ss%s.fqrouter.com' % j)
subprocess.call('cli53 rrcreate fqrouter.com ss%s.a TXT "" --ttl 450 --replace' % j, shell=True)
print('%s done' % datetime.datetime.now())
except:
LOGGER.exception('failed to update proxies')
Expand Down

0 comments on commit 9dafe29

Please sign in to comment.