苏飞论坛

 找回密码
 马上注册

QQ登录

只需一步,快速开始

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

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

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

查看: 4666|回复: 0

[咨询站长] 百度安全里面的号码搜索抓取不到

[复制链接]
发表于 2019-8-27 15:10:49 | 显示全部楼层 |阅读模式
抓包数据:

    • Request URL:
      https://anquan.baidu.com/xiapi/api/v1/phone/query
    • Request Method:
      POST
    • Status Code:

      200 OK
    • Remote Address:
      180.97.33.112:443

  • Response Headersview source
    • Access-Control-Allow-Headers:
      SCTOKEN,Content-Type
    • Access-Control-Allow-Methods:
      GET,PUT,PATCH,POST,DELETE,OPTIONS
    • Connection:
      keep-alive
    • Content-Type:
      application/json; charset=utf-8
    • Date:
      Tue, 27 Aug 2019 07:03:49 GMT
    • Request-Id:
      8146b350a4e22711
    • Server:
      Apache
    • Tracecode:
      02290236580253676810082715
    • Transfer-Encoding:
      chunked
    • X-Powered-By:
      PHP/5.6.32

  • Request Headersview source
    • Accept:
      application/json, text/javascript, */*; q=0.01
    • Accept-Encoding:
      gzip, deflate, br
    • Accept-Language:
      zh-CN,zh;q=0.8
    • Connection:
      keep-alive
    • Content-Length:
      362
    • Content-Type:
      application/x-www-form-urlencoded; charset=UTF-8
    • Cookie:
      BAIDUID=0442336F7B379349C65FE298B9055DD1:FG=1; saasid=QCQ8ogO0D9I2o176eBmEWfzpqHwE3Tv2g9tjkQ9UnDI%3D; yjs_js_security_passport=ea39ca4a8ceb9b9ba9a87c1910f7753b4f571ce0_1566877719_js; BIDUPSID=0442336F7B379349C65FE298B9055DD1; PSTM=1566878326; BDORZ=B490B5EBF6F3CD402E515D22BCDA1598; delPer=0; PSINO=3; H_PS_PSSID=1440_21109_29523_29519_29098_29568_29220_26350; ci_session=2a8b044f68227e8105d2dd5022dd360b94a7a879; Hm_lvt_bc03b77c07af0cbdcab6652e1d3f29a8=1566877506; Hm_lpvt_bc03b77c07af0cbdcab6652e1d3f29a8=1566889428
    • DNT:
      1
    • Host:
      anquan.baidu.com
    • Origin:
      https://anquan.baidu.com
    • Referer:
      https://anquan.baidu.com/haoma/search?search=%E5%BA%9F%E6%97%A7
    • User-Agent:
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2900.0 Iron Safari/537.36
    • X-Requested-With:
      XMLHttpRequest

  • Form Dataview sourceview decoded
    • search:
      %E5%BA%9F%E6%97%A7
    • request_page:
      1
    • position:
      27.63954422%7C113.85991703
    • data:
      129655671676f747ee6cde58df0eb89efb790fec2ec95a80583f1589b7498d310f327e7e289d3a76db1fa4b7d2e810259f2f1b110fb06e91b3664672749ac489733616a9ec523c4452b267c4db124b243cf52b2fdb9b4056b8c8c4dcb93e6b1cb9ca084e17b6710546fdd4983d8abf8dbffaee4881300674d29d6b5eb8bd7227
    • key_id:
      14
    • sign:
      f934019d
    • 程序
    • URL = "https://anquan.baidu.com/xiapi/api/v1/phone/query",//URL   
    •                 Method = "Post",//URL     可选项 默认为Get
    •                 ContentType = "application/x-www-form-urlencoded; charset=UTF-8",//
    •                 Accept = "application/json, text/javascript, */*; q=0.01",
    •                 Referer = "https://anquan.baidu.com/haoma/search?search=%E5%BA%9F%E6%97%A7",
    •                 Cookie = "BAIDUID=0442336F7B379349C65FE298B9055DD1:FG=1; saasid=QCQ8ogO0D9I2o176eBmEWfzpqHwE3Tv2g9tjkQ9UnDI%3D; yjs_js_security_passport=ea39ca4a8ceb9b9ba9a87c1910f7753b4f571ce0_1566877719_js; BIDUPSID=0442336F7B379349C65FE298B9055DD1; PSTM=1566878326; BDORZ=B490B5EBF6F3CD402E515D22BCDA1598; delPer=0; PSINO=3; H_PS_PSSID=1440_21109_29523_29519_29098_29568_29220_26350; Hm_lvt_bc03b77c07af0cbdcab6652e1d3f29a8=1566877506; Hm_lpvt_bc03b77c07af0cbdcab6652e1d3f29a8=1566889062; ci_session=193600b3248d8b10e4299d5be7f0b12a9ff83e91",
    •                 //Host="anquan.baidu.com",
    •                 Postdata = "search=%E5%BA%9F%E6%97%A7&request_page=1&position=27.63954422%7C113.85991703&data=129655671676f747ee6cde58df0eb89efb790fec2ec95a80583f1589b7498d310f327e7e289d3a76db1fa4b7d2e810259f2f1b110fb06e91b3664672749ac489733616a9ec523c4452b267c4db124b243cf52b2fdb9b4056b8c8c4dcb93e6b1ce08c37dcc401ba043ad2974ab62441860db535d912fa3230b7db4f729bce5a78&key_id=14&sign=38c71df3",
    •                 UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2900.0 Iron Safari/537.36"
    • 这样按参数测试了很久都返回数据总是返回"
      {"status":0,"description":"ok","data":{"list":[],"is_auth":"login"}}"
    • 请教下高手这个post怎么获取数据?
    • 打开的Url是
      https://anquan.baidu.com/haoma/search?search=%E5%BA%9F%E6%97%A7



1. 开通SVIP会员,免费下载本站所有源码,不限次数据,不限时间
2. 加官方QQ群,加官方微信群获取更多资源和帮助
3. 找站长苏飞做网站、商城、CRM、小程序、App、爬虫相关、项目外包等点这里
您需要登录后才可以回帖 登录 | 马上注册

本版积分规则

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

GMT+8, 2024-12-25 15:48

© 2014-2021

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