清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
from urllib import urlencode import urllib2 import json url = 'http://api.uihoo.com/idcard/idcard.http.php' def Bool_CheckID(ID): data = {} data['idnumber'] = ID data['format'] = 'json' IDdata = urlencode(data) response = urllib2.urlopen(url,IDdata) rsp = json.loads(response.read()) if rsp['error'] == 0: return True else: return False