我很難在大量HTML表格中找到DYNAMIC-TEXT值。我已經(jīng)嘗試過$html->find("th[plaintext*=Type"),從這里開始,我想訪問同級,但是什么也不返回。這是表格結(jié)構(gòu)<table> <tbody> </tbody> <colgroup> <col width="25%"> <col> </colgroup> <tbody> <tr class="odd"> <th colspan="2">Name</th> </tr> <tr class="even"> <th width="30%">Type</th> <td>DYNAMIC-TEXT</td> </tr> </tbody></table>我希望輸出是DYNAMIC-TEXT的文本,但動作輸出什么都沒有
- 1 回答
- 0 關(guān)注
- 155 瀏覽
添加回答
舉報
0/150
提交
取消