From 69da91da372e8f9192049bd8af0b980c505e91cd Mon Sep 17 00:00:00 2001 From: acooler15 Date: Thu, 31 Mar 2022 22:00:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=89=E9=81=93=E4=BA=91?= =?UTF-8?q?=E7=AC=94=E8=AE=B0=E4=BD=BF=E7=94=A8=E7=9A=84=E6=AD=A3=E5=88=99?= =?UTF-8?q?api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tpls_history.json | 4 ++-- 有道云笔记.har | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tpls_history.json b/tpls_history.json index 4ef0e75..ee4738a 100644 --- a/tpls_history.json +++ b/tpls_history.json @@ -573,8 +573,8 @@ "comments": "首页cookie", "filename": "有道云笔记.har", "content": "", - "date": "2021-09-16 19:00:00", - "version": "20210916", + "date": "2022-03-31 22:00:00", + "version": "20220331", "commenturl": "https://github.com/qiandao-today/templates/issues/65" }, "爱奇艺": { diff --git a/有道云笔记.har b/有道云笔记.har index c5ed137..b34f6b0 100644 --- a/有道云笔记.har +++ b/有道云笔记.har @@ -1 +1 @@ -[{"comment":"获取用户状态","request":{"method":"POST","url":"https://note.youdao.com/yws/mapi/user?method=get","headers":[{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"Host","value":"note.youdao.com"},{"name":"User-Agent","value":"ynote-android"},{"name":"cookie","value":"{{ cookie }}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"q\":\"(\\d+)\"","from":"content","name":"b_capacity"}]}},{"comment":"android - 客户端登录奖励","request":{"method":"POST","url":"https://note.youdao.com/yws/api/daupromotion?method=sync","headers":[{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"Host","value":"note.youdao.com"},{"name":"User-Agent","value":"ynote-android"},{"name":"Cookie","value":"{{ cookie }}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"rewardSpace\":(\\w+),","from":"content","name":"rewardSpace"}]}},{"comment":"android - 签到","request":{"method":"POST","url":"https://note.youdao.com/yws/mapi/user?method=checkin&_system=android","headers":[{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"Host","value":"note.youdao.com"},{"name":"User-Agent","value":"ynote-android"},{"name":"cookie","value":"{{ cookie }}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"space\":(\\w+)","from":"content","name":"anspace"}]}},{"comment":"提取cstk","request":{"method":"GET","url":"http://localhost/util/string/replace?r=text&p=&s=&t={{cookie|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"YNOTE_CSTK=(.{8})","from":"content","name":"cstk"}]}},{"comment":"Windows(1) - 获取签到状态","request":{"method":"POST","url":"https://note.youdao.com/yws/mapi/user?method=getSignStatus&device_type=PC&_system=windows&_appName=ynote&_vendor=official-website&cstk={{cstk|urlencode}}","headers":[{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"Host","value":"note.youdao.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ynote-desktop/1.2.2 Chrome/87.0.4280.141 Electron/11.4.10 Safari/537.36"},{"name":"cookie","value":"{{ cookie }}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"windows(1) - 签到","request":{"method":"POST","url":"https://note.youdao.com/yws/mapi/user?method=checkin&device_type=PC&_system=windows&_appName=ynote&_vendor=official-website&cstk={{cstk|urlencode}}","headers":[{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"Host","value":"note.youdao.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ynote-desktop/1.2.2 Chrome/87.0.4280.141 Electron/11.4.10 Safari/537.36"},{"name":"cookie","value":"{{ cookie }}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"space\":(\\w+)","from":"content","name":"w1space"}]}},{"comment":"获取用户状态","request":{"method":"POST","url":"https://note.youdao.com/yws/mapi/user?method=get","headers":[{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"Host","value":"note.youdao.com"},{"name":"User-Agent","value":"ynote-android"},{"name":"cookie","value":"{{ cookie }}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"\"q\":\"(\\d+)\"","from":"content","name":"capacity"}]}},{"comment":"存储单位转换 - b_capacity","request":{"method":"GET","url":"https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{b_capacity|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)","from":"content","name":"b_capacity_M"}]}},{"comment":"存储单位转换 - rewardSpace","request":{"method":"GET","url":"https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{rewardSpace|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)","from":"content","name":"rewardSpace_M"}]}},{"comment":"存储单位转换 - anspace","request":{"method":"GET","url":"https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{anspace|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)","from":"content","name":"anspace_M"}]}},{"comment":"存储单位转换 - w1space","request":{"method":"GET","url":"https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{w1space|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)","from":"content","name":"w1space_M"}]}},{"comment":"存储单位转换 - capacity","request":{"method":"GET","url":"https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{capacity|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)","from":"content","name":"capacity_M"}]}},{"comment":"日志","request":{"method":"GET","url":"http://localhost/util/string/replace?r=text&p=&s=&t=%E6%80%BB%E5%AE%B9%E9%87%8F%EF%BC%9A{{b_capacity_M|urlencode}}%20M({{b_capacity|urlencode}}%20B)%EF%BC%8CAndroid%E7%99%BB%E5%BD%95%E5%A5%96%E5%8A%B1%EF%BC%9A{{rewardSpace_M|urlencode}}%20M%EF%BC%8CAndroid%E7%AD%BE%E5%88%B0%E5%A5%96%E5%8A%B1%EF%BC%9A{{anspace_M|urlencode}}%20M%EF%BC%8CWindows(1)%E7%AD%BE%E5%88%B0%E5%A5%96%E5%8A%B1%EF%BC%9A{{w1space_M|urlencode}}%20M%EF%BC%8C%E5%BD%93%E5%89%8D%E6%80%BB%E5%AE%B9%E9%87%8F%EF%BC%9A{{capacity_M|urlencode}}%20M({{capacity|urlencode}}%20B)","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":".+","from":"content","name":"__log__"}]}}] \ No newline at end of file +[ { "comment": "获取用户状态", "request": { "method": "GET", "url": "https://note.youdao.com/yws/mapi/user?method=get&vendor=&multilevelEnable=true", "headers": [ { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "Host", "value": "note.youdao.com" }, { "name": "User-Agent", "value": "ynote-android" }, { "name": "cookie", "value": "{{ cookie }}" } ], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "\"q\":\"(\\d+)\"", "from": "content", "name": "b_capacity" } ] } }, { "comment": "android - 客户端登录奖励", "request": { "method": "POST", "url": "https://note.youdao.com/yws/api/daupromotion?method=sync", "headers": [ { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "Host", "value": "note.youdao.com" }, { "name": "User-Agent", "value": "ynote-android" }, { "name": "Cookie", "value": "{{ cookie }}" } ], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "\"rewardSpace\":(\\w+),", "from": "content", "name": "rewardSpace" } ] } }, { "comment": "android - 签到", "request": { "method": "POST", "url": "https://note.youdao.com/yws/mapi/user?method=checkin&_system=android", "headers": [ { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "Host", "value": "note.youdao.com" }, { "name": "User-Agent", "value": "ynote-android" }, { "name": "cookie", "value": "{{ cookie }}" } ], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "\"space\":(\\w+)", "from": "content", "name": "anspace" } ] } }, { "comment": "提取cstk", "request": { "method": "GET", "url": "api://util/regex?p=(YNOTE_CSTK%3D.%7B8%7D)&data={{cookie|urlencode}}", "headers": [], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "YNOTE_CSTK=(.{8})", "from": "content", "name": "cstk" } ] } }, { "comment": "Windows(1) - 获取签到状态", "request": { "method": "POST", "url": "https://note.youdao.com/yws/mapi/user?method=getSignStatus&device_type=PC&_system=windows&_appName=ynote&_vendor=official-website&cstk={{cstk|urlencode}}", "headers": [ { "name": "Accept", "value": "application/json, text/plain, */*" }, { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "Host", "value": "note.youdao.com" }, { "name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ynote-desktop/1.2.2 Chrome/87.0.4280.141 Electron/11.4.10 Safari/537.36" }, { "name": "cookie", "value": "{{ cookie }}" } ], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [] } }, { "comment": "windows(1) - 签到", "request": { "method": "POST", "url": "https://note.youdao.com/yws/mapi/user?method=checkin&device_type=PC&_system=windows&_appName=ynote&_vendor=official-website&cstk={{cstk|urlencode}}", "headers": [ { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "Host", "value": "note.youdao.com" }, { "name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ynote-desktop/1.2.2 Chrome/87.0.4280.141 Electron/11.4.10 Safari/537.36" }, { "name": "cookie", "value": "{{ cookie }}" } ], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "\"space\":(\\w+)", "from": "content", "name": "w1space" } ] } }, { "comment": "获取用户状态", "request": { "method": "POST", "url": "https://note.youdao.com/yws/mapi/user?method=get", "headers": [ { "name": "Content-Type", "value": "application/x-www-form-urlencoded" }, { "name": "Host", "value": "note.youdao.com" }, { "name": "User-Agent", "value": "ynote-android" }, { "name": "cookie", "value": "{{ cookie }}" } ], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "\"q\":\"(\\d+)\"", "from": "content", "name": "capacity" } ] } }, { "comment": "存储单位转换 - b_capacity", "request": { "method": "GET", "url": "https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{b_capacity|urlencode}}", "headers": [], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)", "from": "content", "name": "b_capacity_M" } ] } }, { "comment": "存储单位转换 - rewardSpace", "request": { "method": "GET", "url": "https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{rewardSpace|urlencode}}", "headers": [], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)", "from": "content", "name": "rewardSpace_M" } ] } }, { "comment": "存储单位转换 - anspace", "request": { "method": "GET", "url": "https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{anspace|urlencode}}", "headers": [], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)", "from": "content", "name": "anspace_M" } ] } }, { "comment": "存储单位转换 - w1space", "request": { "method": "GET", "url": "https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{w1space|urlencode}}", "headers": [], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)", "from": "content", "name": "w1space_M" } ] } }, { "comment": "存储单位转换 - capacity", "request": { "method": "GET", "url": "https://cunchu.bmcx.com/web_system/bmcx_com_www/system/file/cunchu/get/?id=1&q={{capacity|urlencode}}", "headers": [], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": "document\\.getElementById\\(\\\"zh_jg_3\\\"\\)\\.value\\s\\=\\sparseFloat\\(\\\"(\\d+\\.*?\\d{0,2})\\d*\\\"\\)", "from": "content", "name": "capacity_M" } ] } }, { "comment": "日志", "request": { "method": "GET", "url": "http://localhost/util/string/replace?r=text&p=&s=&t=%E6%80%BB%E5%AE%B9%E9%87%8F%EF%BC%9A{{b_capacity_M|urlencode}}%20M({{b_capacity|urlencode}}%20B)%EF%BC%8CAndroid%E7%99%BB%E5%BD%95%E5%A5%96%E5%8A%B1%EF%BC%9A{{rewardSpace_M|urlencode}}%20M%EF%BC%8CAndroid%E7%AD%BE%E5%88%B0%E5%A5%96%E5%8A%B1%EF%BC%9A{{anspace_M|urlencode}}%20M%EF%BC%8CWindows(1)%E7%AD%BE%E5%88%B0%E5%A5%96%E5%8A%B1%EF%BC%9A{{w1space_M|urlencode}}%20M%EF%BC%8C%E5%BD%93%E5%89%8D%E6%80%BB%E5%AE%B9%E9%87%8F%EF%BC%9A{{capacity_M|urlencode}}%20M({{capacity|urlencode}}%20B)", "headers": [], "cookies": [] }, "rule": { "success_asserts": [ { "re": "200", "from": "status" } ], "failed_asserts": [], "extract_variables": [ { "re": ".+", "from": "content", "name": "__log__" } ] } } ] \ No newline at end of file