1. gao shuai
  2. wd_pys60

Source

wd_pys60 / wd_json_kcb.py

import simplejson as json
#print dir(json)
def cn(x):
    try:
        return x.decode('utf-8')
    except AttributeError:
        return x

import urllib2

a=urllib2.urlopen("http://kb.gongda.tk/api/gao/nowterm.json").read()

kcb=json.loads(a)
for k in kcb["kcbs"]:
    try:
        for (key,value) in k.items():
            print key,value
    except:
        print k