修复飞客茶馆的日志

This commit is contained in:
github-h 2023-03-28 10:48:26 +08:00
parent e401f21cf8
commit bf44458f5c
2 changed files with 5 additions and 5 deletions

View File

@ -246,11 +246,11 @@
"author": "github-h,wjf0214",
"url": "https://raw.githubusercontent.com/qiandao-today/templates/master/飞客茶馆.har",
"update": false,
"comments": "cookie<br><br>每日签到 若提示未登录请确保登录抓取cookie的ua与模板的一致<br><br>https://www.flyert.com/",
"comments": "cookie<br><br>每日签到 若提示未登录请确保登录抓取cookie的ua与模板的一致<br>第一次失效第二次成功为正常情况,网站波动<br><br>https://www.flyert.com/",
"filename": "飞客茶馆.har",
"content": "",
"date": "2023-03-21 00:00:00",
"version": "20230321",
"date": "2023-03-28 00:00:00",
"version": "20230328",
"commenturl": "https://github.com/qiandao-today/templates/issues/38"
},
"V2EX": {
@ -390,7 +390,7 @@
"author": "wjf0214,github-h",
"url": "https://raw.githubusercontent.com/qiandao-today/templates/master/花火学园.har",
"update": false,
"comments": "username:账号<br>password:密码<br>目前无有效过CF盾方式<br>https://www.sayhuahuo.com/",
"comments": "username:账号 password:密码<br><br>目前无有效过CF盾方式<br><br>https://www.sayhuahuo.com/",
"filename": "花火学园.har",
"content": "",
"date": "2022-03-02 21:00:00",

View File

@ -1 +1 @@
[{"request":{"method":"GET","url":"https://www.flyert.com/portal.php","headers":[{"name":"Host","value":"www.flyert.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"formhash","re":"name=\"formhash\" value=\"(.+?)\"","from":"content"}]}},{"request":{"method":"GET","url":"https://www.flyert.com/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash|urlencode}}&from=insign&is_ajax=1&infloat=yes&handlekey=qiandao&inajax=1&ajaxtarget=fwin_content_qiandao","headers":[{"name":"Host","value":"www.flyert.com"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Accept","value":"*/*"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://www.flyert.com/portal.php"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"判断签到成功+获取积分","request":{"method":"GET","url":"https://www.flyert.com/sign.php","headers":[{"name":"Host","value":"www.flyert.com"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"您今天还没有签到","from":"content"}],"extract_variables":[{"name":"log_value","re":"id=\"lxreward\" value=\"(.+?)\"","from":"content"},{"name":"log_all","re":"id=\"lxtdays\" value=\"(.+?)\"","from":"content"},{"name":"log_days","re":"id=\"lxdays\" value=\"(.+?)\"","from":"content"}]}},{"comment":"生成日志","request":{"method":"POST","url":"api://util/urldecode","headers":[],"cookies":[],"data":"content=累计已签到: {{log_all}} 天 , 本月已累计签到: 669 天 , 获得的总奖励为:威望 {{log_value}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]
[{"request":{"method":"GET","url":"https://www.flyert.com/portal.php","headers":[{"name":"Host","value":"www.flyert.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"formhash","re":"name=\"formhash\" value=\"(.+?)\"","from":"content"}]}},{"request":{"method":"GET","url":"https://www.flyert.com/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash|urlencode}}&from=insign&is_ajax=1&infloat=yes&handlekey=qiandao&inajax=1&ajaxtarget=fwin_content_qiandao","headers":[{"name":"Host","value":"www.flyert.com"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"Not=A?Brand\";v=\"24\""},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Accept","value":"*/*"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://www.flyert.com/portal.php"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"判断签到成功+获取积分","request":{"method":"GET","url":"https://www.flyert.com/sign.php","headers":[{"name":"Host","value":"www.flyert.com"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Google Chrome\";v=\"103\", \"Chromium\";v=\"103\", \"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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,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,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"您今天还没有签到","from":"content"}],"extract_variables":[{"name":"log_value","re":"id=\"lxreward\" value=\"(.+?)\"","from":"content"},{"name":"log_all","re":"id=\"lxtdays\" value=\"(.+?)\"","from":"content"},{"name":"log_days","re":"id=\"lxdays\" value=\"(.+?)\"","from":"content"}]}},{"comment":"生成日志","request":{"method":"POST","url":"api://util/urldecode","headers":[],"cookies":[],"data":"content=累计已签到: {{log_all}} 天 , 本月已累计签到: {{log_days}} 天 , 获得的总奖励为:威望 {{log_value}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]