templates/iptv.har
github-actions[bot] 61efcb1718
Add HAR: iptv_论坛 (#863)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
2025-01-31 10:54:58 +08:00

121 lines
3.2 KiB
JSON

[
{
"request": {
"method": "POST",
"url": "https://iptv.cc/member.php?mod=logging&action=login&loginsubmit=yes&inajax=1",
"headers": [],
"cookies": [],
"data": "username={{username}}&password={{password}}"
},
"rule": {
"success_asserts": [
{
"re": "欢迎您",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "https://iptv.cc/dsu_paulsign-sign.html",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "formhash",
"re": "formhash=(\\w+)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "https://iptv.cc/plugin.php?id=dsu_paulsign%3Asign&operation=qiandao&infloat=1&sign_as=1&inajax=1",
"headers": [],
"cookies": [],
"data": "formhash={{formhash}}&qdxq=kx"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "已经签到",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://iptv.cc/dsu_paulsign-sign.html",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "(您今天已经[\\s\\S]+)签到排行榜",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content={{__log__ | striptags}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]