Add HAR: 有道云笔记IOS端签到 (#867)

Co-authored-by: trainliang <trainliang@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-02-02 11:19:44 +08:00 committed by GitHub
parent 04acf62f09
commit b874799bcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 134 additions and 0 deletions

View File

@ -3912,6 +3912,18 @@
"date": "2025-01-31 11:21:08",
"version": "20250131",
"commenturl": "https://github.com/qd-today/templates/issues/864"
},
"有道云笔记IOS端签到": {
"name": "有道云笔记IOS端签到",
"author": "Trainliang",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/有道云笔记IOS端.har",
"update": false,
"comments": "需要用户使用ios端Stream抓取cookie手机端的cookie失效时间应该比网页端时间长<br>实测签到后手机端依然提示未签到但不影响空间已到账请配合另一个模版【有道云笔记】使用建议ios版先签到<br>ios端如果想空间最大化可以再打开app进行视广告频签到预计还可以增加2M。",
"filename": "有道云笔记IOS端.har",
"content": "W3siY29tbWVudCI6ICJpb3PmiYvmnLrnq6/nrb7liLAiLCAicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vbm90ZS55b3VkYW8uY29tL3l3cy9tYXBpL3VzZXI/bWV0aG9kPWNoZWNraW4iLCAiaGVhZGVycyI6IFt7Im5hbWUiOiAiSG9zdCIsICJ2YWx1ZSI6ICJub3RlLnlvdWRhby5jb20ifSwgeyJuYW1lIjogIkNvbnRlbnQtVHlwZSIsICJ2YWx1ZSI6ICJhcHBsaWNhdGlvbi94LXd3dy1mb3JtLXVybGVuY29kZWQifSwgeyJuYW1lIjogIkFjY2VwdCIsICJ2YWx1ZSI6ICIqLyoifSwgeyJuYW1lIjogIkNvbm5lY3Rpb24iLCAidmFsdWUiOiAia2VlcC1hbGl2ZSJ9LCB7Im5hbWUiOiAiQ29va2llIiwgInZhbHVlIjogInt7Y29va2llfX0ifSwgeyJuYW1lIjogIlVzZXItQWdlbnQiLCAidmFsdWUiOiAiWU5vdG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6ICJjb250ZW50In1dfX0sIHsiY29tbWVudCI6ICJVbmljb2Rl6L2s5o2iIiwgInJlcXVlc3QiOiB7Im1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICJhcGk6Ly91dGlsL3VuaWNvZGUiLCAiaGVhZGVycyI6IFtdLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICJodG1sX3VuZXNjYXBlPWZhbHNlJmNvbnRlbnQ9SU9T562+5Yiw5aWW5Yqx77yae3tzcGFjZV9NfX0gTUIifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJlIjogIlwi54q25oCBXCI6IFwiMjAwXCIiLCAiZnJvbSI6ICJjb250ZW50In1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJfX2xvZ19fIiwgInJlIjogIlwi6L2s5o2i5ZCOXCI6IFwiKC4qKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==",
"date": "2025-02-02 11:15:16",
"version": "20250202",
"commenturl": "https://github.com/qd-today/templates/issues/866"
}
}
}

122
有道云笔记IOS端.har Normal file
View File

@ -0,0 +1,122 @@
[
{
"comment": "ios手机端签到",
"request": {
"method": "POST",
"url": "https://note.youdao.com/yws/mapi/user?method=checkin",
"headers": [
{
"name": "Host",
"value": "note.youdao.com"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cookie",
"value": "{{cookie}}"
},
{
"name": "User-Agent",
"value": "YNote/7.5.560 (iPhone; iOS 18.2.1; Scale/3.00)"
},
{
"name": "Accept-Language",
"value": "zh-Hans-CN;q=1, en-CN;q=0.9, ja-CN;q=0.8, zh-Hant-CN;q=0.7"
},
{
"name": "Content-Length",
"value": "862"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
}
],
"cookies": [],
"data": "IDFA=00000000-0000-0000-0000-000000000000&_appName=ynote&_cityCode=370100&_cityName=%25E6%25B5%258E%25E5%258D%2597&_device=iPhone13%2C4&_idfa=00000000-0000-0000-0000-000000000000&_launch=28&_manufacturer=apple&_network=wifi&_operator=UNKNOWN&_platform=ios&_sbp=true&_screenHeight=926&_screenWidth=428&_system=iOS&_systemVersion=18.2.1&_vendor=AppStore&_version=7.5.560&client_ver=7.5.560&device_model=iPhone&device_name=iPhone&device_type=iPhone&keyfrom=note.7.5.560.iPhone&level=user&login=netease&mid=18.2.1&model=iPhone13%252C4&net=wifi&os=iOS&os_ver=18.2.1&phoneVersion=iPhone&sec=v1&sev=j1&strategy=VIP_MULTIPLY&vendor=AppStore",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "space",
"re": "\"space\":(\\w+)",
"from": "content"
}
]
}
},
{
"comment": "存储单位转换 - space",
"request": {
"method": "GET",
"url": "https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{space|urlencode}}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "space_M",
"re": "document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content=IOS签到奖励{{space_M}} MB"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]