取网页源码
1 | String line = "", source = "", url = "https://www.qidian.com/all"; |
取源码后截取中间文本
1 | int startPos = source.indexOf("左边文本", endPos); |
1 | String line = "", source = "", url = "https://www.qidian.com/all"; |
取源码后截取中间文本
1 | int startPos = source.indexOf("左边文本", endPos); |
最后更新: 原文链接:http://blog.iwxyi.com/2018/06/03/JSP取网页源码/