如何在Python(SoRy)中定义XPath命令以接受代码中所指示的位置的任何数字。我已经试过 * 或 any() 在那个位置。
*
any()
table = response.xpath('//*[@id="olnof_**here I want to accept any value**_altlinesodd"]/tr[1]/TD[1]/A[1]')