Function 携趣IP(api,请求地址,提交数据,请求头,cookies)
Import "jsdvip.luae"
jsdvip.StartServer
dim ip = Url.Get(api)
api=Split(ip,":")
dim proxyHost = api(0)
dim proxyPort = api(1)
dim json= jsdvip.HttpGet (请求地址,提交数据,请求头,cookies,api(0),api(1))
Import "cjson.lua"
Dim resp= Cjson.Decode(json)
If resp Then
TracePrint resp["body"]
End If
携趣IP = resp
End Function