0
点赞
收藏
分享

微信扫一扫

华科隧道切换模式教程

下面简单介绍下使用,以华科HTTP为例,数据抓取中使用隧道模式

获取当前IP(限制 1200次 /小时)

用浏览器访问 ​​http://ip.hahado.cn/simple/current-ip?username=username&password=password​​ URL上面加上用户名和密码

[ { "ip": "180.102.181.64", "ttl": 262.87515091896057} ]

  • "ip": 字段是当前的外网IP ("ip":"null" 正在切换中,暂时没有IP)
  • "ttl": 字段是ip可以使用的剩余时间(秒)

手动切换IP(限制 180次 /小时,间隔>20秒)

用浏览器访问 ​​http://ip.hahado.cn/simple/switch-ip?username=username&password=password​​ URL上面加上用户名和密码

[ { "last_ip": "180.102.181.64", "result": true} ]

  • "last_ip": 切换前的IP

举报

相关推荐

0 条评论