yingyongbao_auto/data/scripts/home_yibao.json
2026-10-17 10:46:29 +08:00

74 lines
1.8 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"script_id": "home_yibao",
"label": "Home → 应用宝 → 赚钱 → 去观看 → 了解详情 → 关闭广告 → 放弃福利 → 关闭广告页",
"target_text": "应用宝",
"click_offset_y_ratio": -0.06,
"steps": [
{
"kind": "home",
"label": "点击云手机 Home 按钮"
},
{
"kind": "ocr_click",
"text": "应用宝",
"offset_y_ratio": -0.06,
"label": "打开“应用宝”"
},
{
"kind": "ocr_click",
"text": "赚钱",
"label": "点击“赚钱”"
},
{
"kind": "scroll_ocr_click",
"text": "去观看",
"anchor": "精彩视频",
"label": "查找“看精彩视频领积分”旁的“去观看”"
},
{
"kind": "await_click",
"text": "了解详情",
"alt_texts": [
"立即体验"
],
"confirm": "可获得奖励",
"label": "等待“了解详情/立即体验”出现并点击",
"await_ms": 10000,
"max_scans": 10
},
{
"kind": "delay_click",
"delay_ms": 20000,
"x_ratio": 0.158,
"y_ratio": 0.065,
"label": "等待 20 秒后点击广告页关闭按钮(X)"
},
{
"kind": "cond_ratio_click",
"confirm": "恭喜已获得",
"x_ratio": 0.935,
"y_ratio": 0.083,
"label": "等待奖励弹窗并点击右上角关闭(X/遮罩)",
"max_scans": 10
},
{
"kind": "await_click",
"text": "放弃福利",
"label": "点击“放弃福利”",
"await_ms": 8000,
"max_scans": 10,
"optional": true
},
{
"kind": "cond_ratio_click",
"confirm": "看15秒",
"alt_confirms": [
"恭喜已获得"
],
"x_ratio": 0.933,
"y_ratio": 0.108,
"label": "点击广告页/通知栏右上角关闭按钮(X)",
"max_scans": 5
}
]
}