def _get_table_item(doc, name):
 return doc.xpath(('//th[contains(text(), "%s")]/following-sibling::td' % name))[0]

def _get_table_item ( doc , name ) : return doc . xpath ( ( '//th[contains(text(), "%s")]/following-sibling::td' % name ) ) [ 0 ]
fetch items out of table that has a left column of th .