python代理ip
网站:http://free-ss.tk/
author:xgb
time:2018-05-21
需要引用的模块
import requests
import json
import pymysql
代码:
html=requests.get('http://free-ss.tk/ss.json?_=1526868943442').text
js_one=json.loads(html)
for i in js_one['data']:
item={}
item['V/T/U/M']=i[0]
item['address']=i[1] #ip
item['port']=i[2] #port
item['method']=i[3]
item['password']=i[4]
item['time']=i[5]
item['city']=i[6]
print(item)
网友评论