Skip to content

模拟机总是会遇到访问被拒绝的页面 #85

@gryffindor-rr

Description

@gryffindor-rr
Image
自己加了点打印和截图以后运行的log: $ python damai_app_v2.py 第 1 次尝试... 开始抢票流程... 选择城市... 📸 截图已保存: debug/01_before_city_select_20251111_150931.png ✅ 已选择城市: 北京 点击预约按钮... 📸 截图已保存: debug/02_before_book_button_20251111_150934.png ✅ 已点击预约按钮 选择票价... 📸 截图已保存: debug/03_before_price_select_20251111_150937.png ✅ 找到票价容器 ✅ 已选择票价 (index: 1) 选择数量... 📸 截图已保存: debug/04_before_quantity_select_20251111_150938.png ✅ 已选择数量: 2 确定购买... 📸 截图已保存: debug/05_before_confirm_buy_20251111_150939.png ✅ 已点击确定购买 选择用户... 📸 截图已保存: debug/06_before_user_select_20251111_150942.png 📄 页面源码已保存: debug/06_before_user_select_20251111_150942.xml ⚠️ 检测到风控关键词: 访问被拒绝 📸 截图已保存: debug/risk_control_detected_20251111_150942.png 🛡️ 检测到风控,尝试处理... 📸 截图已保存: debug/risk_control_handling_20251111_150942.png ⏮️ 已返回上一页 ⚠️ 风控已处理,需要重新运行脚本 第 1 次尝试失败 2秒后重试... 第 2 次尝试... 开始抢票流程... 选择城市... 📸 截图已保存: debug/01_before_city_select_20251111_150951.png ❌ 城市选择失败 📸 截图已保存: debug/01_city_select_failed_20251111_150956.png 📄 页面源码已保存: debug/01_city_select_failed_20251111_150957.xml 第 2 次尝试失败 2秒后重试... 第 3 次尝试... 开始抢票流程... 选择城市... 📸 截图已保存: debug/01_before_city_select_20251111_151002.png ❌ 城市选择失败 📸 截图已保存: debug/01_city_select_failed_20251111_151007.png 📄 页面源码已保存: debug/01_city_select_failed_20251111_151007.xml 第 3 次尝试失败 所有尝试均失败 真实安卓手机还没试.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions