Home
Sign Up
Sign In
V2EX
›
问与答
请问这种结构的的 HTML 怎么用 jsoup 解析?
ju5t4fun
·
Feb 27, 2016
· 2117 views
This topic created in 3926 days ago, the information mentioned may be changed or developed.
有一个 table 结构是这样的,我想把图中日期部分提取出来,用 jsoup ,该怎么写?
http://i11.tietuku.com/9150fd3d540ab5a2.png
table
Jsoup
日期
结构
2 replies
•
2016-02-27 22:00:42 +08:00
cheneydog
Feb 27, 2016
1
1
Element eDate = doc.select("div.smallfont").first();
String sDate = eDate.ownText();
ju5t4fun
OP
Feb 27, 2016
2
@
cheneydog
谢大神,果然解决了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2117 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms ·
UTC 07:10
·
PVG 15:10
·
LAX 23:10
·
JFK 02:10
♥ Do have faith in what you're doing.
❯