Shadowsocks added as a library folder in android

This commit is contained in:
aman 2022-04-16 20:18:27 +05:30
parent 929bcf03a0
commit 59b4bf5267
98 changed files with 38015 additions and 40 deletions

View file

@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- encoding: utf8 -*-
import sys
import IPy
def main():
china_list_set = IPy.IPSet()
for line in sys.stdin:
china_list_set.add(IPy.IP(line))
# 输出结果
for ip in china_list_set:
print '<item>' + str(ip) + '</item>'
if __name__ == "__main__":
main()