|
5精币
是一个Post登陆WEBQQ然后取Q宠大乐斗的好友信息,Post部分内容如下:
{"result":"0","msg":"","pullflag":"0","info":[{"uin":"16","petflag":"0","qzoneflag":"0","qqvipflag":"0","qgameflag":"0","name":"乐斗程管","lilian":"59","enable":"1","factionid":"0"},{"uin":"12","petflag":"0","qzoneflag":"0","qqvipflag":"0","qgameflag":"0","name":"俊猴王","lilian":"49","enable":"1","factionid":"0"},
Post地址:http://fight.pet.qq.com/cgi-bin/petpk?cmd=view&kind=1&sub=1&selfuin= +QQ号码
正则表达式有了,我放到常量里面。表达式为:"uin":"(.*?)","petflag":"(.*?)","qzoneflag":"(.*?)","qqvipflag":"(.*?)","qgameflag":"(.*?)","name":"(.*?)","lilian":"(.*?)","enable":"(.*?)","factionid":"(.*?)"
现在要如何把取到的内容导入这个超级列表框?
enable=0,表示已挑战
enable=1,表示未挑战
enable=2,表示有奖挑战
下面是全部源码:
源码.rar
(623.31 KB, 下载次数: 66)
|
|