mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Add HAR: 中图网(原中国图书网) (#586)
Co-authored-by: FellBan <FellBan@users.noreply.github.com>
This commit is contained in:
parent
94050a1ab1
commit
7d59174aa0
|
@ -3264,6 +3264,18 @@
|
|||
"date": "2024-03-04 12:35:00",
|
||||
"version": "20240304",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/569"
|
||||
},
|
||||
"中图网(原中国图书网)": {
|
||||
"name": "中图网(原中国图书网)",
|
||||
"author": "李大爷",
|
||||
"url": "https://raw.githubusercontent.com/qd-today/templates/master/中图网(原中国图书网).har",
|
||||
"update": false,
|
||||
"comments": "cookie签到+日志显示",
|
||||
"filename": "中图网(原中国图书网).har",
|
||||
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vd3d3LmJvb2tzY2hpbmEuY29tL2FzaHgvU2lnbkluQXBpLmFzaHgiLCAiaGVhZGVycyI6IFt7Im5hbWUiOiAiSG9zdCIsICJ2YWx1ZSI6ICJ3d3cuYm9va3NjaGluYS5jb20ifSwgeyJuYW1lIjogIkNvbm5lY3Rpb24iLCAidmFsdWUiOiAia2VlcC1hbGl2ZSJ9LCB7Im5hbWUiOiAic2VjLWNoLXVhIiwgInZhbHVlIjogIlwiQ2hyb21pdW1cIjt2PVwiMTE5XCIsIFwiTm90P0FfQnJhbmRcIjt2PVwiMjRcIiJ9LCB7Im5hbWUiOiAiRE5UIiwgInZhbHVlIjogIjEifSwgeyJuYW1lIjogInNlYy1jaC11YS1tb2JpbGUiLCAidmFsdWUiOiAiPzAifSwgeyJuYW1lIjogIlVzZXItQWdlbnQiLCAidmFsdWUiOiAiTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzExOS4wLjYwNDUuMTYwIFNhZm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CJ9XX19LCB7ImNvbW1lbnQiOiAiVW5pY29kZei9rOaNoiIsICJyZXF1ZXN0IjogeyJtZXRob2QiOiAiUE9TVCIsICJ1cmwiOiAiYXBpOi8vdXRpbC91bmljb2RlIiwgImhlYWRlcnMiOiBbXSwgImNvb2tpZXMiOiBbXSwgImRhdGEiOiAiaHRtbF91bmVzY2FwZT1mYWxzZSZjb250ZW50PeaIkeeahOS5puiZq+WAvDp7e3p9fSB8IOaIkeeahOS5puW4gTp7e2J9fSJ9LCAicnVsZSI6IHsic3VjY2Vzc19hc3NlcnRzIjogW3sicmUiOiAiMjAwIiwgImZyb20iOiAic3RhdHVzIn0sIHsicmUiOiAiXCLnirbmgIFcIjogXCIyMDBcIiIsICJmcm9tIjogImNvbnRlbnQifV0sICJmYWlsZWRfYXNzZXJ0cyI6IFtdLCAiZXh0cmFjdF92YXJpYWJsZXMiOiBbeyJuYW1lIjogIl9fbG9nX18iLCAicmUiOiAiXCLovazmjaLlkI5cIjogXCIoLiopXCIiLCAiZnJvbSI6ICJjb250ZW50In1dfX1d",
|
||||
"date": "2024-03-08 15:27:37",
|
||||
"version": "20240308",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/585"
|
||||
}
|
||||
}
|
||||
}
|
225
中图网(原中国图书网).har
Normal file
225
中图网(原中国图书网).har
Normal file
|
@ -0,0 +1,225 @@
|
|||
[
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://www.bookschina.com/ashx/SignInApi.ashx",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "www.bookschina.com"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""
|
||||
},
|
||||
{
|
||||
"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/119.0.6045.160 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded; charset=UTF-8"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json, text/javascript, */*; q=0.01"
|
||||
},
|
||||
{
|
||||
"name": "X-Requested-With",
|
||||
"value": "XMLHttpRequest"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua-platform",
|
||||
"value": "\"Windows\""
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://www.bookschina.com"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "same-origin"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "cors"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "empty"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://www.bookschina.com/vieworder/default.aspx"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "zh-CN,zh;q=0.9"
|
||||
},
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "{{cookie}}"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "action=SignIn",
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.bookschina.com/vieworder/default.aspx",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "www.bookschina.com"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Chromium\";v=\"119\", \"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": "DNT",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 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.7"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "same-origin"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "navigate"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-User",
|
||||
"value": "?1"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "document"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://www.bookschina.com/"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "zh-CN,zh;q=0.9"
|
||||
},
|
||||
{
|
||||
"name": "Cookie",
|
||||
"value": "{{cookie}}\n"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "",
|
||||
"mimeType": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "z",
|
||||
"re": "我的书虫值:(\\d+)",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "b",
|
||||
"re": "我的书币:(\\d+)",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content=我的书虫值:{{z}} | 我的书币:{{b}}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"200\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user