我正在尝试提取一些网页的网址,但我不能。你能帮我吗
String url = "http://www.cadenaser.com/rssaudio/larguero.html";
Elements etiqueta = doc.getElementsByTag(“guid”); System.out.println(“ETIQUETA GUID”+ etiqueta.toString());
for (Element guids : etiqueta) {
result.add(guids.toString());
String urlssss = guids.absUrl("guid");
System.out.println("CadenoooNNNNN ESSSSS " + urlssss);
}
我只想获得网址: strin1 = http://www.cadenaser.com/cadenaser/podcast/audios/cadenaser_larguero_20110304csrcsrdep_1_Aes.mp3 字符串2 = HTTP://www.cadenaser.com/cadenaser/podcast/audios/cadenaser_larguero_20110304csrcsrdep_1_Aes.mp3 ......
有任何帮助吗?非常感谢和抱歉我的英语!