for t in x.findAll(text='price'):
    p = t.parent
if p.name != 'th':
    continue
ns = p.nextSibling
if ns and not ns.name:
    ns = ns.nextSibling
if not ns or ns.name not in ('td', 'th'):
    continue
print(ns.string)
beautifulsoup, Find th with text 'price', then get price from next th