hostloc_qd 评论区
Opened this issue · 0 comments
IITII commented
HAR 模板名称
hostloc主机论坛
作者信息
wjf0214, IITII
模板备注及说明
登录后首页cookie
https://hostloc.com
HAR 文件名
hostloc主机论坛.har
其他信息
原模板的修改版, 只修改最后一个接口, 使用内置接口而非 chinaz. 若失效, 请去原贴反馈.
#80
HAR 模板内容
[{"request":{"method":"GET","url":"https://hostloc.com/forum.php","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/home.php?mod=spacecp&ac=credit&op=rule"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,13500,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,20500,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,23500,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,23500,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,24500,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,25500,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,26000,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,27000,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,27000,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,27000,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,27500,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"api://util/delay/3","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/space-uid-{{random(1,21000,0)}}.html","headers":[{"name":"Host","value":"hostloc.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Referer","value":"https://hostloc.com/space-uid-26137.html"},{"name":"Accept-Encoding","value":"gzip, deflate, sdch, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://hostloc.com/home.php?mod=spacecp&ac=credit&showcredit=1","headers":[{"name":":method","value":"GET"},{"name":":authority","value":"hostloc.com"},{"name":":scheme","value":"https"},{"name":":path","value":"/home.php?mod=spacecp&ac=credit&showcredit=1"},{"name":"cache-control","value":"max-age=0"},{"name":"dnt","value":"1"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 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.9"},{"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"},{"name":"cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"金钱: </em>(\\d+)","from":"content","name":"jq"},{"re":"威望: </em>(\\d+)","from":"content","name":"ww"},{"re":"<em>积分: </em>(\\d+)","from":"content","name":"jf"},{"name":"__log__","re":"金币:{{jq}} | 威望:{{ww}} | 积分:{{jf}}","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode?content=%E9%87%91%E5%B8%81%3A%7B%7Bjq%7Curlencode%7D%7D%20%7C%20%E5%A8%81%E6%9C%9B%3A%7B%7Bww%7Curlencode%7D%7D%20%7C%20%E7%A7%AF%E5%88%86%3A%7B%7Bjf%7Curlencode%7D%7D","headers":[],"cookies":[],"data":"content=金币:{{jq}} | 威望:{{ww}} | 积分:{{jf}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]