所需引入jar包:https://jsoup.org/packages/jsoup-1.13.1.jar
org.jsoupjsoup1.13.1
java代码
import org.jsoup.Jsoup; import org.jsoup.nodes.Document;
// 解析html并设值contentDocument document = Jsoup.connect(article.getAudioUrl()).get(); String content = document.select("body")+"";