
网络爬虫
打磨时光
我是打磨匠,关注软件开发,打磨产品,服务人类。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java 使用 httpClient 发送get、post请求
maven 依赖<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --><dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>ht...原创 2020-02-29 20:29:04 · 697 阅读 · 0 评论 -
记一次 java.io.IOException: Attempted read from closed stream
在一次项目问题排查过程中,发现总是 报错 java.io.IOException: Attempted read from closed stream,根据异常的堆栈分析,定位到了问题的根源。问题示例如下:public class Main { public static void main(String[] args) throws ClientProtocolException,...原创 2019-06-23 10:57:26 · 5483 阅读 · 0 评论 -
fiddler 捕获 curl 请求
使用 curl 命令设置代理服务器,挂到 fiddler 上curl -x localhost:8888 www.baidu.com此命令使用 localhost:8888 这个代理服务器(Fiddler)IP和端口访问站点 www.baidu.com参数说明-x 设置代理,格式为host[:port],port的缺省值为1080...原创 2019-07-10 22:28:54 · 1632 阅读 · 0 评论