templates/xdouban.com.har
github-actions[bot] 2126e5d77f
Add HAR: xdouban无损音乐网 (#797)
Co-authored-by: a76yyyy <a76yyyy@users.noreply.github.com>
2024-11-09 23:10:54 +08:00

81 lines
2.2 KiB
JSON

[
{
"request": {
"method": "POST",
"url": "https://xdouban.com/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
"headers": [],
"cookies": [],
"data": "username={{username}}&password={{password}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "https://xdouban.com/home.php?mod=space",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "退出",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "u",
"re": ">(.+)的个人资料",
"from": "content"
},
{
"name": "f",
"re": "(积分</em>\\d+)",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content={{u}} {{f | striptags}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]