-
Notifications
You must be signed in to change notification settings - Fork 299
/
MC百科.har
1 lines (1 loc) · 3.04 KB
/
MC百科.har
1
[{"request":{"method":"GET","url":"https://www.mcmod.cn/","headers":[{"name":"Host","value":"www.mcmod.cn"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"21\", \" Not;A Brand\";v=\"99\""},{"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/95.0.4638.69 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":"same-site"},{"name":"Sec-Fetch-Mode","value":"navigate"},{"name":"Sec-Fetch-User","value":"?1"},{"name":"Sec-Fetch-Dest","value":"document"},{"name":"Referer","value":"https://center.mcmod.cn/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"uid","re":"style=\"text-align:center;\"><a href=\"//center.mcmod.cn/(\\d+)","from":"content"}]}},{"request":{"method":"POST","url":"https://center.mcmod.cn/action/doUserCheckIn/","headers":[{"name":"Host","value":"center.mcmod.cn"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"21\", \" Not;A Brand\";v=\"99\""},{"name":"DNT","value":"1"},{"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/95.0.4638.69 Safari/537.36"},{"name":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"Accept","value":"*/*"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://center.mcmod.cn"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://center.mcmod.cn/386083/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"},{"name":"Cookie","value":"{{cookie}}\n"}],"cookies":[],"data":"nCenterID={{uid|urlencode}}","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"amount","re":"\"amount\":(\\d+)","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"GET","url":"api://util/unicode?content=%E7%9F%A5%E8%AF%86%E7%A2%8E%E7%89%87%3A{{amount|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]