百度旋转验证码接口调用接口1

百度验证码识别接口token
自助下单 自动发货 正品保障 安全无忧

1) 请求地址

https://d175582r32.oicp.vip/api/baiducor(因为有狗攻击接口,新更新接口地址请联系站长)

2) 调用方式:HTTP post

3) 接口描述:

相似图片搜索获取旋转角度api文档

4) 请求参数 :

QQ 61910465

POST参数:

字段名称字段说明类型必填备注
token
stringYtoken
image图片二进制字符串stringY图片


5) 百度旋转验证码识别易语言代码演示:

链接:https://pan.baidu.com/s/1r71ywg5T4s-21tnJq_9SpA?pwd=uzfc 

提取码:uzfc 

6) 百度旋转验证码识别python代码演示:

import base64,requests,time,json# 打码token
token=''
# 图片content
with open('./1.png', 'rb')as f:
    image=f.read()
f.close()# 二进制加密
base64_data = base64.b64encode(image)
b64 = base64_data.decode()  
b64 = str(base64_data)   #或者如下转为字符串类型

urlt = 'https://d175582r32.oicp.vip/api/baiducor'
data = {
    'token': token,
    'image': b64}
try:
    response = requests.post(urlt, data=json.dumps(data))
    print(response.json())
    # {'status': 0, 'msg': 'success', 'point': '254','px':'88', 'remain': '22798', 'totle': '60000'}
    # {'status': 1, 'msg': '服务器过载'}  请求失败
    # {'status': 2, 'msg': '非法token'}  token错误或者为空
    # {'status': 4, 'msg': '打码点数不足'}
    if response.json()['status'] == 0:
        point = response.json()['point']
except:
    time.sleep(1)

百度旋转验证码接口调用接口2

1) 请求地址

https://d175582r32.oicp.vip/api/baiducor1?token=fsafasfasfsa

2) 调用方式:HTTP post

4) 请求参数 :

QQ 61910465

POST参数:


字段名称字段说明类型必填备注
file图片字节集stringY图片

6) python代码演示


token='g3hwae39nqbvgmj72q3n47fa46r4ei6l'
urlt = 'https://d175582r32.oicp.vip/api/baiducor1?token='+token
with open('./1.png', 'rb')as f:
        file=f.read()
f.close()
response = requests.post(urlt,files={'file':file})

    

7) 失败请求返回结果:

  {'status': 1, 'msg': '服务器过载'}  请求失败
  {'status': 2, 'msg': '非法token'}  token错误或者为空
  {'status': 4, 'msg': '打码点数不足'}

成功请求返回结果

  {'status': 0, 'msg': 'success', 'point': '254','px':'88', 'remain': '22798', 'totle': '60000'}

8) 请求返回结果参数说明:

字段名称字段说明类型必填备注
status
stringY
point
stringY图片角度
px
stringY移动距离
remain
stringY剩余打码
totle
stringY打码总数

百度旋转验证码接口调用接口3

1) 请求地址

https://d175582r32.oicp.vip/api/tkds?token=fsafasfasfsa

2) 调用方式:HTTP post

4) 请求参数 :

QQ 61910465

POST参数:

字段名称字段说明类型必填备注
ck字符串stringY百度账号cookies

6) python代码演示


import requests

url = "https://www.sonnde.com/api/tkds"

querystring = {"token":"g3hwae39nqbvgmj72q3n47fa46r4ei6l"}

payload = {"ck": "BDUSS=UzTFVZQ0ZNQldrUUZWM2M1fmswb0phVXBJbUt1SnVKeGx4Yn5TcE1JTk5LakJqSUFBQUFBJCQAAAAAAAAAAAEAAAA7gUEUNjk1NDc3NjI1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE2dCGNNnQhjan;"}
headers = {"content-type": "application/json"}

response = requests.request("POST", url, json=payload, headers=headers, params=querystring)

print(response.text)

    

7) 失败请求返回结果:

  {'status': 1, 'msg': '服务器过载'}  请求失败
  {'status': 2, 'msg': '非法token'}  token错误或者为空
  {'status': 3, 'msg': '非法ck'}  ck错误或者为空
  {'status': 4, 'msg': '打码点数不足'}

成功请求返回结果

{"status":0,"remain":7843,"totle":"仅供测试,正式打码请联系QQ61910465","data":{"tk":"1169DIprASqP/UVrv/LbIpBoxhj686x8aVv+DmpI/tarpH8M2I/TouzBt1TUx//p1r5N/wBKukRZ3bjNJisM7btBsTDjIU1Dspr0AqQflaxWpgTtsJXfEe2y10oNwqlToe4J","as":"2d7b15e0","ds":"lD0aFwTCTBrWAeE2aEe2aqBXc2Tl7eTDwqy7CxM24OIlsW5BX46jfFX0rJguaNTvSfw9LNvQxxlMYEJTf5kk12LzXkKDOP5QKcAHU/36Fkq5QdHCF47A4zbiK79QWrqiVvZI6VhW1QQz1XvIXWc/Nkrw22oq5OokjpMfZNG7qBf4qvVErve/nV5R/Fp7JFp6AUwhl+qwYq+7sjj+HZSzWPEAcK+5skk+S72nnotRhRRAMYgY/AnIxRZYgQ05YEGsFOj4vWc3OrBC3WxCbUguEczH6Bs1E4UU/5Y6PRR9kZa7EDwod2AnkwdO4ibrSpKd9J0HrYWO+vIV6YqtLkaXJGZDqd2IutvdOoPD7pCU+UxDbSq2Rz5qiQ2yuA5vUl/Z0OcgoFZm5Vggt7QI4TzRlN2Q+T0sl6Y35CQ4U9mBcP2l4RdqXzaWN2bq85JdyakJFZBaimwkWDYFuue2e4MCVDAV/+hIXKRfoNXtjX283JYBOhE+nyAGr0hmRlA05CpHPW1pseL0uocJgB7dhadftnqwXC++EsxHvoq8H7RyZrHWxyLkY7uid+REyzrdCF5VU0q/gLpAHE1DibLYWQWUPztMEToxeOVi/YBWZeg8bq4xBgYL9XcB/virehwRf81dvQ0fR0kGr8wC8NptcnKKLEYz8lKS9CkSdd4uuo8EhygLCna5WLgHgfyL+SMfZS9yVlHml48Uz+e7ePkxudJeFYOa/60mu3tPquO49e2cSVqzvX1Pocr+vBV9cP54MQAyOoClm+pNHGQ10S2XJZncuyZRaVMSO3aqmXLVM9pIEv5blFcSJrTvZExd772Yxb5wnB0sDP2XB7UZt2KRPEY938na3rWMXBg7EYe2Jg0emV2nkwEnRbYH+kex7d0NEttL3E9MjfS0fT8QAjoByh0iYMhSK5Ek0JlZ0OAQV25puPlSlr3cKKfWqa1awmTPivAS+/S+/DDLQm5QgfSDNzJ0hYldO+Y1XbSyN9ETeDovhEfWcs3SF8s/+8tmsDlzcKBi13El8KE1+KMKEAemWBBQFLfsYJMnpSzjSJUTBAZdlxOsGCMM8QHvqyDvf6RpUm78W+oqJfrztR2NLAtz5lccY21TqQF1EJ9ktx2gcxj4ob58QTI1nik6HTgQVVTy4hTM","op":1}}


本文版权归趣快排www.sEoguruBlog.com 所有,如有转发请注明来出,竞价开户托管,seo优化请联系QQ✈61910465