我正在尝试从上面的 URL 中提取这样的表格。
...
RCUS<TAB>Arcus Biosciences Inc<TAB>(ARCUS BIOSCIENCES ORD)<TAB>Common Stock<TAB>NYSE
...
//tbody[@id="resultsBody"]/tr/join(((td[1])/a, (td[2]), (td[3]), (td[4])), x:cps(9))
但我只能得到这个。谁能告诉我如何解决这个问题?
$ xidel -s -e '//tbody[@id="resultsBody"]/tr/join(((td[1])/a, (td[2]), (td[3]), (td[4])), x:cps(9))' 'https://research.tdameritrade.com/grid/public/symbollookup/symbollookup.asp?data=B64ENCeyJ1c2VMaW5rIjoiIiwibm9MaW5rcyI6ZmFsc2UsIm5vRm9vdGVyIjpmYWxzZSwiZnJvbVBhZ2UiOiIiLCJ0eXBlIjoid2lkZSIsImRpc3BsYXkiOiIiLCJ0ZXh0IjoiQklPIiwiZXhjaGFuZ2UiOiJOWVEiLCJpc3N1ZVR5cGUiOiJDUyIsInBlclBhZ2UiOiIxMCIsImZpcnN0Um93IjowfQ=='
BIO Bio Rad Laboratories Inc Common Stock NYSE
RCUS Arcus Biosciences Inc
(ARCUS BIOSCIENCES ORD) Common Stock NYSE
BIO Bio Rad Laboratories Inc
(BIO RAD LABORATORIES CL A ORD) Common Stock NYSE
BHVN Biohaven Pharmaceutical Holding Company Ltd
(BIOHAVEN PHARMACEUTICAL HOLDING ORD) Common Stock NYSE
EBS Emergent BioSolutions Inc
(EMERGENT BIOSOLUTIONS ORD) Common Stock NYSE
ENZ Enzo Biochem Inc
(ENZO BIOCHEM ORD) Common Stock NYSE
NUVB Nuvation Bio Inc
(NUVATION BIO CL A ORD) Common Stock NYSE
SQZ SQZ Biotechnologies Co
(SQZ BIOTECHNOLOGIES COMPANY ORD) Common Stock NYSE
ZBH Zimmer Biomet Holdings Inc
(ZIMMER BIOMET HOLDINGS ORD) Common Stock NYSE
BIO.B Bio Rad Laboratories Inc
(BIO RAD LABORATORIES CL B ORD) Class NYSE
NUVB+ Nuvation Bio Inc *W EXP 07/07/2027
(NUVATION BIO EQY WARRANT) Warrant NYSE