import example
import json
path = "../data/usk052/content.json"
fp = open(path, 'r', encoding="utf-8")
a = fp.readline()
b = json.loads(a)
c = b['contents'][0]['content']
d = example.SimpleHtmlDoc.parse_raw(c)
items = list(d.items)
aa = items[-1]
dd = example.SimpleHtmlDocTree.from_shtm_doc(d)
dd.get_item(1)
import example
import json
v = example.BaseItemVector()
v.append2(example.PItem(-1,1, "Fuck"))
a = example.SimpleHtmlDoc([example.PItem(-1,1, "Fuck")])