一、验证码类型展示
需要拖动下方滑块,使图片对齐,网址:www.tiktok.com(使用电子邮件或用户名登录时会弹出)
二、整体流程及代码
import xbot
from xbot import print, sleep
from .import package
from .package import variables as glv
import base64
import requests
import json
from ctypes import windll
from PIL import Image
def main(args):
pass
def get_len(pathwai,pathnei, token, type):
"""
pathwai:外侧图片路径
pathnei:内侧图片路径
token:云码token
获取需要识别物体与初始位置的距离
type:90004
"""
# 云码API请求地址
url = "http://api.jfbym.com/api/YmServer/customApi"
#外侧图片base64转码
with open(pathwai,'rb') as f: