Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有道云笔记IOS端签到 评论区 #866

Open
trainliang opened this issue Jan 31, 2025 · 0 comments
Open

有道云笔记IOS端签到 评论区 #866

trainliang opened this issue Jan 31, 2025 · 0 comments
Labels

Comments

@trainliang
Copy link
Contributor

trainliang commented Jan 31, 2025

HAR 模板名称

有道云笔记IOS端签到

作者信息

Trainliang

模板备注及说明

需要用户使用ios端Stream抓取cookie,手机端的cookie失效时间应该比网页端时间长,
实测签到后手机端依然提示未签到但不影响空间已到账,请配合另一个模版【有道云笔记】使用,建议ios版先签到,
ios端如果想空间最大化可以再打开app进行视广告频签到,预计还可以增加2M。

HAR 文件名

有道云笔记IOS端.har

其他信息

None

HAR 模板内容

[{"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"}]}}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant