Element body = Jsoup.parse(html);
Element script = body.select(“script”).first();
if (script != null) {
String str = script.data();
}
jsoup获取script标签中的内容
最新推荐文章于 2024-05-11 14:34:52 发布
Element body = Jsoup.parse(html);
Element script = body.select(“script”).first();
if (script != null) {
String str = script.data();
}