import java.io.InputStream;
import java.net.URL;
import java.util.Arrays;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
public class Test {
public static void main(String[] args) {
try {
URL url = new URL("http://www.ahzww.net/0/101/");
InputStream input = url.openStream();
String str = IOUtils.toString(input, "gbk");
String[] arr=StringUtils.substringsBetween(str,"
System.out.println(Arrays.toString(arr));
} catch (Exception e) {
e.printStackTrace();
}
}
}