public static void main(String[] args) {
try {
// 打開連接
Document doc = Jsoup.connect("http://chaipip.com/").get();
Elements eles = doc.select("#ip");
System.out.println(eles.attr("value"));
} catch (Exception e) {
e.printStackTrace();
}
}