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

多看聚影 评论区 #823

Open
loveyanglove opened this issue Dec 27, 2024 · 2 comments
Open

多看聚影 评论区 #823

loveyanglove opened this issue Dec 27, 2024 · 2 comments
Labels

Comments

@loveyanglove
Copy link
Contributor

loveyanglove commented Dec 27, 2024

HAR 模板名称

多看聚影

作者信息

loveyanglove

模板备注及说明

用户名密码登录签到
日志显示
https://duokan.club

HAR 文件名

多看聚影.har

其他信息

HAR 模板内容

[{"comment":"获取formhash,loginhash","request":{"method":"GET","url":"https://duokan.club/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login","headers":[{"name":"Host","value":"duokan.club"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"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":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 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, zstd"},{"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":"formhash","re":"<input type=\"hidden\" name=\"formhash\" value=\"(.+)\"","from":"content"},{"name":"loginhash","re":"loginhash=(.+)\"","from":"content"}]}},{"comment":"登录","request":{"method":"POST","url":"https://duokan.club/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&loginhash={{loginhash|urlencode}}&inajax=1","headers":[{"name":"Host","value":"duokan.club"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://duokan.club"},{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"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/131.0.0.0 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":"iframe"},{"name":"Referer","value":"https://duokan.club/"},{"name":"Accept-Encoding","value":"gzip, deflate, br, zstd"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"formhash={{formhash|urlencode}}&referer=https%3A%2F%2Fduokan.club%2F&loginfield=username&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"欢迎回来","from":"content"}],"failed_asserts":[{"re":"登录失败","from":"content"}],"extract_variables":[]}},{"comment":"获取sign","request":{"method":"GET","url":"https://duokan.club/sign.php","headers":[{"name":"Host","value":"duokan.club"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"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":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 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://duokan.club/"},{"name":"Accept-Encoding","value":"gzip, deflate, br, zstd"},{"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":"sign","re":"<input type=\"hidden\" name=\"formhash\" value=\"(.+)\"","from":"content"}]}},{"comment":"签到","request":{"method":"GET","url":"https://duokan.club/sign.php?sign={{sign|urlencode}}","headers":[{"name":"Host","value":"duokan.club"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"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":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 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://duokan.club/sign.php"},{"name":"Accept-Encoding","value":"gzip, deflate, br, zstd"},{"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":"msg","re":"<div id=\"messagetext\" class=\"alert_info\">[\\s|\\S]*?<p>(.*?)<script","from":"content"},{"name":"msg1","re":"<div id=\"messagetext\" class=\"alert_error\">[\\s|\\S]*?<p>(.*?)</p>","from":"content"}]}},{"comment":"获取信息","request":{"method":"GET","url":"https://duokan.club/sign.php","headers":[{"name":"Host","value":"duokan.club"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"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":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 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-Dest","value":"document"},{"name":"Referer","value":"https://duokan.club/sign.php?sign={{sign}}"},{"name":"Accept-Encoding","value":"gzip, deflate, br, zstd"},{"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":"zjdk","re":"<li>最近打卡:(.+)</li>","from":"content"},{"name":"bydk","re":"<li>本月打卡:(.+)</li>","from":"content"},{"name":"lxdk","re":"<li>连续打卡:(.+)</li>","from":"content"},{"name":"ljdk","re":"<li>累计打卡:(.+)</li>","from":"content"},{"name":"ljjl","re":"<li>累计奖励:(.+)</li>","from":"content"},{"name":"zjjl","re":"<li>最近奖励:(.+)</li><","from":"content"},{"name":"dkdj","re":"li>当前打卡等级:(.+)</li>","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=签到状态:{{msg}}{{msg1}}\\r\\n最近打卡:{{zjdk}}\\r\\n本月打卡:{{bydk}},连续打卡:{{lxdk}},累计打卡:{{ljdk}}。\\r\\n累计奖励:{{ljjl}},最近奖励:{{zjjl}}。\\r\\n当前打卡等级:{{dkdj}}。"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]
@peerless2012
Copy link

用密码登录的,是每次签到都用密码登录吗?还是说会保存token ?

@loveyanglove
Copy link
Contributor Author

用密码登录的,是每次签到都用密码登录吗?还是说会保存token ?

用户名密码登录

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

2 participants