解决方案 »

  1.   

    有爬虫就有反爬虫。有时候不是你的代码有问题,而是策略的问题,下面的文章算是一个引导吧:
    http://www.lanceyan.com/tech/arch/snscrawler.html
      

  2.   

     java.net.SocketException: Software caused connection abort: recv failed 异常分析
    http://blog.csdn.net/haydenwang8287/article/details/5793645
      

  3.   

    楼主这个问题解决了吗?有什么好的解决办法?
    我的程序也是int statusCode = httpClient.executeMethod(getMethod); 这句报这个错。
      

  4.   

    模拟cookie,user-agent,另外记得每次爬取要有间隔(过于频繁肯定会被屏蔽)..只有这么多可以给你参考了
      

  5.   

    你这是tcp链接损坏抛出的异常