易语言获取验证码实例讲解

发布时间:2020-09-19 21:00:54 作者:thomas_blog
来源:脚本之家 阅读:810

我们先来看下获取连接的内容

{"captcha_hash":"84c73e55e09ea98803879725b4703b4b-5c06213d","captcha_image":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAYAEADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh5iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD1TxDqNxbeRZ2vyz3J2rJnG2ptD067sIZWvLozyytuYk55xj+QH5Vla/p8msa9BaJL5XlxF91W/C0lwIrq2uZjLJDJtyTk4rT7Jq17mhk+IPE93FffZrLdCYztcsOp7VP4Pnuhe3ttcTNJg7uTkbick/jWf4iDR6rfwtGuZlWRGJ7Cn+HHuoNRVoooj9ohyFLY6VbXumjS5NCTULNL3xvHbzs0kZXoxzjqcfTNWtLs4tL8WXcduh3CDIUdTWTqWozWvik3FzAEZV2kB+nvmtDw9PfahqdzqMcKN8ojG9scUNOwNPl8rGprWrXCz21jYHZczjIZv4R7ipLFNUtFeTVL1DGpB3AcAd8+g96iEXm+L1M8alhbAgdQDmugZlUDcQASBz69qh7aGbaSSRg6za30OowanYxmVkUq8Y6sKb4WWSUX13LG8ckkxUqwxjHaiilfQm/u2KOsQi68XQRAbg0LRn/e25I+uCD9CK1dJ0NbRLaaYnz4kKgA8YooqpdCptpJeRlGzS+8a3UUgUhIwxVhkEcdfz/lXT2dlb2EHk20YRM5wKKKUhTeyMbVrLUoNUXUdNHmuV2NG3QCrWnS396skWqWSIu3BB5Vs0UUr6C5tLH/2Q=="}

显示验证码

网址1 = “https://h6.ele.me/restapi/eus/v3/captchas”
返回1 = 到文本 (网页_访问_对象 (网址1, 1))
调试输出 (返回1)
验证码1 = 文本_取出中间文本 (返回1, “jpeg;base64,”, #引号)
调试输出 (验证码1)
图片框1.图片 = 编码_BASE64解码 (验证码1)

点击更换验证码

易语言获取验证码实例讲解

实验现象

易语言获取验证码实例讲解

推荐阅读:
  1. 实例讲解易语言静态编译
  2. 易语言如果命令实例讲解

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

易语言 验证码

上一篇:JAVA字符串类型switch的底层原理详析

下一篇:Vue 实现CLI 3.0 + momentjs + lodash打包时优化

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》