Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDSay高清乐园 评论区 #447

Open
FellBan opened this issue Oct 24, 2023 · 3 comments
Open

HDSay高清乐园 评论区 #447

FellBan opened this issue Oct 24, 2023 · 3 comments
Assignees
Labels

Comments

@FellBan
Copy link
Contributor

FellBan commented Oct 24, 2023

HAR 模板名称

HDSay高清乐园

作者信息

李大爷

模板备注及说明

账号密码签到
日志输出 20241023 更新域名

HAR 文件名

HDSay高清乐园.har

其他信息

No response

HAR 模板内容

[{"request":{"method":"GET","url":"https://www.xiukee.net/dynamichtml/getloginexdata","headers":[{"name":"Host","value":"www.xiukee.net"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"DNT","value":"1"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"},{"name":"Sec-Fetch-Site","value":"none"},{"name":"Sec-Fetch-Mode","value":"navigate"},{"name":"Sec-Fetch-User","value":"?1"},{"name":"Sec-Fetch-Dest","value":"document"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"code","re":"VerificationCodeName\" value=\"(.+)\" id","from":"content"},{"name":"token","re":"__RequestVerificationToken\" type=\"hidden\" value=\"(.+)\"","from":"content"}]}},{"request":{"method":"GET","url":"https://www.xiukee.net/account/getverificationcode?name={{code|urlencode}}&ver=%27%20%20%20Math.random%28%29","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"xxx","re":".+","from":"content"}]}},{"comment":"OCR识别","request":{"method":"POST","url":"api://util/dddd/ocr","headers":[{"name":"Content-Type","value":"application/json"}],"cookies":[],"data":"{\"img\":\"{{xxx}}\",\"imgurl\":\"\",\"old\":\"False\",\"extra_onnx_name\":\"\"}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"OK\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"ccc","re":"\"Result\": \"(.*)\"","from":"content"}]}},{"request":{"method":"POST","url":"https://www.xiukee.net/account/loginsubmit","headers":[{"name":"Host","value":"www.xiukee.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Sat, 01 Jan 2000 00:00:00 GMT"},{"name":"DNT","value":"1"},{"name":"X-XSRF-TOKEN","value":"{{token}}"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"},{"name":"Content-Type","value":"application/json"},{"name":"Accept","value":"application/json, text/javascript, */*; q=0.01"},{"name":"Cache-Control","value":"no-cache"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://www.xiukee.net"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://www.xiukee.net/Account/Login?ReturnUrl=%2F"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"{\"rememberMe\":\"true\",\"VerificationCodeName\":\"{{code}}\",\"OAuthResult\":\"\",\"OriginalUrl\":\"\",\"UsernameOrEmailAddress\":\"{{user}}\",\"Password\":\"{{pass}}\",\"VerificationCode\":\"{{ccc}}\"}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"Set","re":"Set-Cookie:(.+)","from":"header"}]}},{"request":{"method":"GET","url":"https://www.xiukee.net/member/sign","headers":[{"name":"Host","value":"www.xiukee.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"DNT","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"navigate"},{"name":"Sec-Fetch-User","value":"?1"},{"name":"Sec-Fetch-Dest","value":"document"},{"name":"Referer","value":"https://www.xiukee.net/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"uid","re":"uid=(\\d+)\"","from":"content"}]}},{"request":{"method":"GET","url":"https://www.xiukee.net/api/services/app/ForumMemberSign/GetNewWithUserId?userId={{uid|urlencode}}&_=1717678912400","headers":[{"name":"Host","value":"www.xiukee.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Thu, 20 Jun 2024 13:26:15 GMT"},{"name":"DNT","value":"1"},{"name":"X-XSRF-TOKEN","value":"{{token}}"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 Safari/537.36"},{"name":"Content-Type","value":"application/json"},{"name":"Accept","value":"application/json, text/javascript, */*; q=0.01"},{"name":"Cache-Control","value":"no-cache"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://www.xiukee.net/member/sign"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"time","re":"\"creationTime\":\"([^\"]+)","from":"content"}]}},{"request":{"method":"POST","url":"https://www.xiukee.net/api/services/app/ForumMemberSign/Create","headers":[{"name":"Host","value":"www.xiukee.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""},{"name":"Pragma","value":"no-cache"},{"name":"Expires","value":"Sat, 01 Jan 2000 00:00:00 GMT"},{"name":"DNT","value":"1"},{"name":"X-XSRF-TOKEN","value":"{{token}}"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"},{"name":"Content-Type","value":"application/json"},{"name":"Accept","value":"application/json, text/javascript, */*; q=0.01"},{"name":"Cache-Control","value":"no-cache"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://www.xiukee.net"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://www.xiukee.net/member/sign"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"},{"name":"Cookie","value":"{{Set}}"}],"cookies":[],"data":"{\"isActive\":true,\"creatorUserName\":null,\"creationTime\":\"{{time}}\",\"lastModifierUserName\":null,\"lastModificationTime\":null,\"moodName\":\"开心\",\"inputModeName\":\"自己填写\",\"userId\":{{uid}},\"mood\":\"5\",\"moodWords\":\"签到签到签到真不错!!\",\"inputMode\":\"1\",\"description\":null,\"version\":0,\"id\":\"00000000-0000-0000-0000-000000000000\",\"__RequestVerificationToken\":\"{{token}}\"}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"Copy_","request":{"method":"GET","url":"https://www.xiukee.net/member/sign","headers":[{"name":"Host","value":"www.xiukee.net"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"DNT","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"navigate"},{"name":"Sec-Fetch-User","value":"?1"},{"name":"Sec-Fetch-Dest","value":"document"},{"name":"Referer","value":"https://www.xiukee.net/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"jb","re":"金币:<span class='num'>([\\+\\d]+)","from":"content"},{"name":"jq","re":"激情:<span class='num'>([\\+\\d]+)","from":"content"},{"name":"jy","re":"经验:<span class='num'>([\\+\\d]+)","from":"content"},{"name":"zjy","re":"经验:<span class=\"integral\">([\\d]+)","from":"content"},{"name":"zjf","re":"积分:<span class=\"integral\">([\\d]+)","from":"content"},{"name":"zjb","re":"金币:<span class=\"integral\">([\\d]+)","from":"content"},{"name":"dj","re":";([\\w]+?)&lt","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content= 今日签到获得奖励:金币{{jb}},激情{{jq}},经验{{jy}}\\r\\n当前等级:{{dj}} | 经验:{{zjy}} | 积分:{{zjf}} | 金币:{{zjb}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]
@FellBan FellBan added the har label Oct 24, 2023
@FellBan FellBan self-assigned this Oct 24, 2023
@chen8945
Copy link
Collaborator

image
试了下后面这段时间戳参数可以去掉,没啥影响
顺便还试出了另一个增加积分的请求,也可以加进去,get请求,请求头不需要token
https://www.hdsay.net/api/services/app/ForumGlobal/GetGlobalData

@17huiwei
Copy link

Failed at 5/8 request,
Fail assert: {"re": "200", "from": "status"} from success_asserts,
Response Error : HTTP 401: Unauthorized,
Request URL: https://www.showk.net/api/services/app/ForumMemberSign/GetNewWithUserId?userId={{UID|urlencode}}

原来的模板,我把老域名改成新域名,还是不行。

@wzgrx
Copy link

wzgrx commented Oct 1, 2024

Failed at 1/8 request,
Fail assert: {"re": "200", "from": "status"} from success_asserts,
Response Error : HTTP 302: Found,
Request URL: https://www.hdsay.net/Account/Login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants