def test():
	dbcli = getCliInstance()
	# dbcli.insertDomain('jaysonhwang.com')
	# dbcli.insertRuleset('test','jaysonhwang.com')
	print dbcli.robotsrulesetOfDomain('www.zol.com')
	print dbcli.robotsrulesetOfDomain('jayson.com')
	dbcli.showAll()
	dbcli.close()
async def print_debug(loop):
    while True:
        print(chr(27) + "[2J")  # clear screen
        loop.print_debug_info()
        await asyncio.sleep(0.5)