-1
我希望從Html中提取數據值解析html數據提取
您可以更改html標記中的值無法找到模式。
有什麼辦法嗎?
期望的結果數據1,數據2,數據3,數據4,數據5,DATA6將輸出
<td class="c1" ><img src="/img/icon/code//aa.png"></td>
<td class="c2" >11/2109:30</td>
<td class="c3" ><img src="/img/icon/code//aa.png" width="20" height="20" class="flag" /><span>Data1 </span></td>
<td class="c4" ><div class="tween"><p href="#" buyId="479900" status="1" daedang="asdf" class="end 479900">Data2 <span class="rr">Data3</span></p></div></td>
<td class="c5" ><div class="tween handicap"><p href="#" buyId="479900" status="3" daedang="asdf" class="end 479900">Data4</p></div></td>
<td class="c6" ><div class="tween"><p href="#" buyId="479900" status="2" daedang="asdf" class="end 479900">Data5 <span class="rr">Data6</span></p></div></td>
</tr>
<td class="c1" ><img src="/img/icon/code//bb.png"></td>
<td class="c2" >11/2109:45</td>
<td class="c3" ><img src="/img/icon/code//aa.png" width="20" height="20" class="flag" /><span>Data1 </span></td>
<td class="c4" ><div class="tween"><p href="#" buyId="500000" status="1" daedang="gbgg" class="end 500000">Data2 <span class="rr">Data3</span></p></div></td>
<td class="c5" ><div class="tween handicap"><p href="#" buyId="500000" status="3" daedang="gbgg" class="end 500000">Data4</p></div></td>
<td class="c6" ><div class="tween"><p href="#" buyId="500000" status="2" daedang="gbgg" class="end 500000">Data5 <span class="rr">Data6</span></p></div></td>
</tr>