http://www.sufeinet.com/plugin.php?id=keke_group

苏飞论坛

 找回密码
 马上注册

QQ登录

只需一步,快速开始

分布式系统框架(V2.0) 轻松承载百亿数据,千万流量!讨论专区 - 源码下载 - 官方教程

HttpHelper爬虫框架(V2.7-含.netcore) HttpHelper官方出品,爬虫框架讨论区 - 源码下载 - 在线测试和代码生成

HttpHelper爬虫类(V2.0) 开源的爬虫类,支持多种模式和属性 源码 - 代码生成器 - 讨论区 - 教程- 例子

查看: 8427|回复: 4

[求助] 浏览器安全检测5秒 爬虫类或万能框架有办法过吗?

[复制链接]
发表于 2017-2-22 18:39:11 | 显示全部楼层 |阅读模式
QQ图片20170222183609.png

平时访问的时候都正常,今天突然访问的时候有百度云防护5秒检测
然后用HttpHelper折腾了一整天都不懂怎么绕过或者解决掉这个问题

以下是获取源码时先跳转到的 安全检测页面,然后等待5秒才会调到原网站
爬虫类或万能框架有办法过吗?

<!DOCTYPE HTML>
<html lang="en-US">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  <meta name="robots" content="noindex, nofollow" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <title>安全检查中...</title>
  <style type="text/css">
    html, body {width: 100%; height: 100%; margin: 0; padding: 0;}
    body {background-color: #ffffff; font-family: Helvetica, Arial, sans-serif; font-size: 100%;}
    h1 {font-size: 1.5em; color: #404040; text-align: center;}
    p {font-size: 1em; color: #404040; text-align: center; margin: 10px 0 0 0;}
    #spinner {margin: 0 auto 30px auto; display: block;}
    .attribution {margin-top: 20px;}
  </style>

    <script type="text/javascript">
  //<![CDATA[
  (function(){
    var a = function() {try{return !!window.addEventListener} catch(e) {return !1} },
    b = function(b, c) {a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)};
    b(function(){
      var a = document.getElementById('yjs-content');a.style.display = 'block';
      setTimeout(function(){
        var s,t,o,p,b,r,e,a,k,i,n,g,f, aFblLPc={"xKWZuN":+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]))};
        t = document.createElement('div');
        t.innerHTML="<a href='/'>x</a>";
        t = t.firstChild.href;r = t.match(/https?:\/\//)[0];
        t = t.substr(r.length); t = t.substr(0,t.length-1);
        a = document.getElementById('jschl-answer');
        f = document.getElementById('challenge-form');
        ;aFblLPc.xKWZuN*=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]));aFblLPc.xKWZuN+=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]));aFblLPc.xKWZuN-=+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]));aFblLPc.xKWZuN+=+((!+[]+!![]+!![]+[])+(+[]));aFblLPc.xKWZuN*=+((!+[]+!![]+!![]+[])+(!+[]+!![]+!![]));aFblLPc.xKWZuN+=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]));aFblLPc.xKWZuN+=+((!+[]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]));aFblLPc.xKWZuN-=+((+!![]+[])+(!+[]+!![]));aFblLPc.xKWZuN*=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]+!![]+!![]));aFblLPc.xKWZuN*=+((!+[]+!![]+!![]+!![]+[])+(!+[]+!![]+!![]+!![]+!![]));a.value = parseInt(aFblLPc.xKWZuN, 10) + t.length; '; 121'
        f.submit();
      }, 4000);
    }, false);
  })();
  //]]>
</script>


</head>
<body>
  <table width="100%" height="100%" cellpadding="20">
    <tr>
      <td align="center" valign="middle">
          <div class="yjs-browser-verification yjs-im-under-attack">
  <noscript><h1 data-translate="turn_on_js" style="color:#bd2426;">请打开浏览器的javascript,然后刷新浏览器</h1></noscript>
  <div id="yjs-content" style="display:none">
    <div>
      <div class="bubbles"></div>
      <div class="bubbles"></div>
      <div class="bubbles"></div>
    </div>
    <h1>qq-ssc.com <span data-translate="checking_browser">浏览器安全检查中...</span></h1>
    <p data-translate="process_is_automatic"></p>
    <p data-translate="allow_5_secs">还剩 5 秒&hellip;</p>
  </div>
  <form id="challenge-form" action="/cdn-cgi/l/chk_jschl" method="get">
    <input type="hidden" name="jschl_vc" value="d9ec681c864f27f21527cca17450eb5a"/>
    <input type="hidden" name="pass" value="1487754648.451-D8NtFV1eof"/>
    <input type="hidden" id="jschl-answer" name="jschl_answer"/>
  </form>
</div>


          <div class="attribution"><a href="http://su.baidu.com/" target="_blank" style="font-size: 12px;"></a></div>
      </td>
    </tr>
  </table>
</body>
</html>




1. 开通SVIP会员,免费下载本站所有源码,不限次数据,不限时间
2. 加官方QQ群,加官方微信群获取更多资源和帮助
3. 找站长苏飞做网站、商城、CRM、小程序、App、爬虫相关、项目外包等点这里
发表于 2017-2-23 08:29:23 | 显示全部楼层
首先你应该提供一下网址
 楼主| 发表于 2017-2-23 15:41:01 | 显示全部楼层
站长苏飞 发表于 2017-2-23 08:29
首先你应该提供一下网址

今天网站又关闭云防护了 谢谢
发表于 2017-3-9 15:15:07 | 显示全部楼层
强烈支持楼主ing……
发表于 2017-3-19 20:55:54 | 显示全部楼层
这个问题我也碰到过。当时没解决。感觉不好处理。
您需要登录后才可以回帖 登录 | 马上注册

本版积分规则

QQ|手机版|小黑屋|手机版|联系我们|关于我们|广告合作|苏飞论坛 ( 豫ICP备18043678号-2)

GMT+8, 2024-3-29 00:17

© 2014-2021

快速回复 返回顶部 返回列表