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