|
5精币
谁会用精易浏览器呀,能帮忙把这IE的POST改成精易浏览器的嘛?
或改成水星浏览器的也行呀
线程_置CPU亲和性 ()线程_初始化COM库 ()user = “hh3903993”pass = “lai12345”循环判断首 ()url = “http://web.4399.com/user/?_c=login&_a=checkUser&user=” + “hh3903993” + “&jsoncallback=jQuery172099136000425174_” + 时间_取现行时间戳 () + “&_=” + 时间_取现行时间戳 ()str = 到文本 (网页_访问_对象 (“http://ptlogin.4399.com/ptlogin/verify.do?username=” + “hh3903993” + “&appId=ssjj&t=” + 时间_取现行时间戳 () + “&inputWidth=iptw2&v=1”, , , cookie, cookie1, , , , , , , 3 )) str = 编码_utf8到gb2312 (str )cookie = 网页_Cookie合并更新 (cookie, cookie1 )captchaId = 文本_取出中间文本 (str, “UniLoginChangPIC('”, “')”) 判断 (str ≠ “”)验证码 = “”如果真 (captchaId ≠ “”)url = JSON. 取通用属性 (“url”) bin = 网页_访问 (“http://ptlogin.4399.com/ptlogin/captcha.do?captchaId=” + captchaId, , , cookie, , , , , , 代理 )线程_进入许可区 (许可区 )验证码 = 验证码识别 (bin ) 线程_退出许可区 (许可区 )判断 (验证码 ≠ “”)str = 到文本 (网页_访问_对象 (“http://ptlogin.4399.com/ptlogin/login.do?v=1”, 1, “loginFrom=uframe&postLoginHandler=default&layoutSelfAdapting=true&externalLogin=qq&displayMode=undefined&layout=vertical&appId=ssjj&gameId=news&css=%2F%2Fs1.img4399.com%2Fwebgame%2Fssjj%2Fnews%2Fcss%2Fptlogin.css%3F1e72872&redirectUrl=&sessionId=” + captchaId + “&mainDivId=popup_login_div&includeFcmInfo=false&userNameLabel=4399%E7%94%A8%E6%88%B7%E5%90%8D&userNameTip=%E8%AF%B7%E8%BE%93%E5%85%A54399%E7%94%A8%E6%88%B7%E5%90%8D&welcomeTip=%E6%AC%A2%E8%BF%8E%E5%9B%9E%E5%88%B04399&username=” + user + “&password=” + pass + “&inputCaptcha=” + 验证码, cookie, cookie1, , , , , , )) str = 到文本 (网页_访问_对象 (“http://ptlogin.4399.com/ptlogin/login.do?v=1”, 1, “loginFrom=uframe&postLoginHandler=default&layoutSelfAdapting=true&externalLogin=qq&displayMode=undefined&layout=vertical&appId=ssjj&gameId=news&css=%2F%2Fs1.img4399.com%2Fwebgame%2Fssjj%2Fnews%2Fcss%2Fptlogin.css%3F1e72872&redirectUrl=&sessionId=&mainDivId=popup_login_div&includeFcmInfo=false&userNameLabel=4399%E7%94%A8%E6%88%B7%E5%90%8D&userNameTip=%E8%AF%B7%E8%BE%93%E5%85%A54399%E7%94%A8%E6%88%B7%E5%90%8D&welcomeTip=%E6%AC%A2%E8%BF%8E%E5%9B%9E%E5%88%B04399&username=” + user + “&password=” + pass, cookie, cookie1, , , , , , )) str = 编码_utf8到gb2312 (str ) 判断 (寻找文本 (cookie, “ck_accname=”, , 假) > 0 )写配置项 (取运行目录 () + “\账号配置.ini”, “账号”, user, 编码_URL编码 (cookie, 真, 真)) 提示 = “登录成功”Cookies = cookie 返回 (真)提示 = 文本_取出中间文本 (str, “_errorCallback('”, “')”)提示 = “验证码错误”循环判断尾 (提示 = “验证码错误” 或 提示 = “登录校验超时”)线程_取消COM库 ()返回 (假)
|
|