Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.9k views
in Technique[技术] by (71.8m points)

java爬虫 数据提取

image.png

<span class="field-item"> 5<em id="H1g36c2">0</em>00万<div id="H4irM1c"></div></span>
<span class="field-item"> 2<i id="HtpIM5j">0</i>00<i id="HAG3rPS">万</i>0万</span>
<span class="field-item"> 200<label id="HS8ceXl"></label><em id="H9Z6FzQ">万</em>万</span>

如何提取标注红色的部分,都是子标签外面的数字如何提取出来然后合并


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

image.png

把没用的东西删了不就得了。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...