Skip to content

滴滴出行脚本失效 #41

Description

@wanvfx

开始执行... 2025-08-29 17:44:12

用户【】, ===当前福利金数量为:1===
用户【
*】, ===月月领券活动未开启===
Traceback (most recent call last):
File "/ql/data/scripts/QL_TimingScript/滴滴出行.py", line 684, in
asyncio.run(main())
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/ql/data/scripts/QL_TimingScript/滴滴出行.py", line 680, in main
await asyncio.gather(*task)
File "/ql/data/scripts/QL_TimingScript/滴滴出行.py", line 671, in run
await asyncio.gather(*task)
File "/ql/data/scripts/QL_TimingScript/滴滴出行.py", line 474, in claim_coupon_lottery
lottery_chance = get_draw_times_data.get('data').get('conf').get('strategy_data').get('data').get(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

执行结束... 2025-08-29 17:44:16 耗时 4 秒     

好像是滴滴API返回的数据结构发生了变化了。
求修复。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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