我想在读取url而不是文件时删除脚本,请帮帮我
Document connect = Jsoup.connect("http://www.tutorialspoint.com/ant/ant_deploying_applications.htm");
Elements selects = connect.select("div.middle-col");
System.out.println(selects.removeAttr("script").html());
Run Code Online (Sandbox Code Playgroud)