-
Notifications
You must be signed in to change notification settings - Fork 412
Description
2025-11-09 23:06:17 | DEBUG | main : execute_browser_tasks : 55 | 开始 Epic Games 收藏任务
2025-11-09 23:06:20 | DEBUG | main : execute_browser_tasks : 69 | 浏览器初始化成功
2025-11-09 23:06:20 | DEBUG | main : execute_browser_tasks : 72 | 正在初始化 Epic Games 身份验证
2025-11-09 23:06:28 | DEBUG | services.epic_authorization_service : _login : 74 | 使用邮箱登录
2025-11-09 23:06:43 | 错误 | hcaptcha_challenger.agent.challenger : _task_handler : 781 | 反向处理 getcaptcha 失败:CaptchaPayload 存在 1 个验证错误
tasklist.0.entities.0.metadata
必填字段 [type=missing, input_value={'entity_id': '4ced05fe-b..., 62], 'size': [68, 77]}, input_type=dict]
更多信息请访问 https://errors.pydantic.dev/2.11/v/missing
2025-11-09 23:06:50 | DEBUG | hcaptcha_challenger.agent.challenger : _solve_captcha : 841 | 开始验证 - type=image_drag_single count=None
2025-11-09 23:07:13 | DEBUG | hcaptcha_challenger.agent.challenger : challenge_image_drag_drop : 631 | [1/1]ToolInvokeMessage: {
“挑战提示”:“请拖动右侧的线段来完成这行文字。”
"坐标": "[{'from': {'x': 1147, 'y': 473}, 'to': {'x': 915, 'y': 505}}]"
}
2025-11-09 23:07:14 | DEBUG | hcaptcha_challenger.agent.challenger : wait_for_challenge : 919 | 开始检查验证码响应
2025-11-09 23:07:16 | 成功 | hcaptcha_challenger.agent.challenger : wait_for_challenge : 937 | 挑战成功
2025-11-09 23:07:17 | 成功 | services.epic_authorization_service : _login : 102 | 登录成功
2025-11-09 23:07:23 | 成功 | services.epic_authorization_service : _login : 105 | 账户验证成功
2025-11-09 23:07:23 | DEBUG | main : execute_browser_tasks : 75 | 身份验证完成
2025-11-09 23:07:23 | DEBUG | main : execute_browser_tasks : 78 | 开始免费游戏收集进程
2025-11-09 23:07:34 | DEBUG | services.epic_games_service : collect_epic_games : 184 | 发现促销
{
标题:被遗忘国度的闲散冠军们
"url": " https://store.epicgames.com/en-US/p/banegeneralaudience "
}
2025-11-09 23:08:44 | 错误 | services.epic_games_service : collect_epic_games : 195 | Locator.text_content: 超时 30000 毫秒。
通话记录:
- 等待定位器(“//aside//button[@data-testid='purchase-cta-button']”)
回溯(最近一次调用):
文件“ /app/app/deploy.py ” ,第 182 行 ,在 中
asyncio.run ( deploy ( ) )
文件“/usr/lib/python3.12/asyncio/runners.py”,第 194 行,在 run 中
返回 runner.run(main)
文件“/usr/lib/python3.12/asyncio/runners.py”,第 118 行,在 run 中
返回 self._loop.run_until_complete(task)
文件“/usr/lib/python3.12/asyncio/base_events.py”,第 674 行,在 run_until_complete 函数中
self.run_forever()
文件“/usr/lib/python3.12/asyncio/base_events.py”,第 641 行,在 run_forever 中
self._run_once()
文件“/usr/lib/python3.12/asyncio/base_events.py”,第 1987 行,在 _run_once 中
handle._run()
文件“/usr/lib/python3.12/asyncio/events.py”,第 88 行,在 _run 中
self._context.run(self._callback, *self._args)
文件“ /app/app/deploy.py ”,第 113 行 , 在 deploy 中
等待 execute_browser_tasks ( headless = headless )
文件“ /app/app/deploy.py ”,第 81 行 , 在 execute_browser_tasks 中
等待 agent.collect_epic_games ( )
文件“ /app/app/services/epic_games_service.py ”,第 193 行 , 在 collect_epic_games 中
等待 self.epic_games.collect_weekly_games ( game_promotions )
文件“/app/.venv/lib/python3.12/site-packages/tenacity/asyncio/init.py”,第 189 行,在 async_wrapped 中
返回 await copy(fn, *args, **kwargs)
文件“/app/.venv/lib/python3.12/site-packages/tenacity/asyncio/init.py”,第 [111] 行,在 call 中
do = await self.iter(retry_state=retry_state)
文件“/app/.venv/lib/python3.12/site-packages/tenacity/asyncio/init.py”,第 153 行,在 iter 中
result = await action(retry_state)
文件“/app/.venv/lib/python3.12/site-packages/tenacity/_utils.py”,第 99 行,在内部
返回 call(*args, **kwargs)
文件“/app/.venv/lib/python3.12/site-packages/tenacity/init.py”,第 418 行,在 exc_check 中
引发 retry_exc.reraise()
文件“/app/.venv/lib/python3.12/site-packages/tenacity/init.py”,第 185 行,在 reraise 中
引发 self.last_attempt.result()
文件“/usr/lib/python3.12/concurrent/futures/_base.py”,第 449 行,结果
返回 self.__get_result()
文件“/usr/lib/python3.12/concurrent/futures/_base.py”,第 401 行,在 __get_result 中
引发自身异常
文件“/app/.venv/lib/python3.12/site-packages/tenacity/asyncio/init.py”,第 [114]行,在 call 中
result = await fn(*args, **kwargs)
文件“ /app/app/services/epic_games_service.py ”,第 374 行 , 在 collect_weekly_games 中
如果 不是 等待 self.add_promotion_to_cart ( self.page , 网址 ) :
文件“ /app/app/services/epic_games_service.py ”,第 273 行 , 在 add_promotion_to_cart 中
购买状态 = 等待 purchase_btn.text_content ( )
文件“/app/.venv/lib/python3.12/site-packages/playwright/async_api/_generated.py”,第 17603 行,在 text_content 中
await self._impl_obj.text_content(timeout=timeout)
文件“/app/.venv/lib/python3.12/site-packages/playwright/_impl/_locator.py”,第 630 行,在 text_content 中
返回 await self._frame.text_content(
文件“/app/.venv/lib/python3.12/site-packages/playwright/_impl/_frame.py”,第 648 行,在 text_content 中
返回 await self._channel.send(
文件“/app/.venv/lib/python3.12/site-packages/playwright/_impl/_connection.py”,第 69 行,在 send 函数中
返回 await self._connection.wrap_api_call(
文件“/app/.venv/lib/python3.12/site-packages/playwright/_impl/_connection.py”,第 558 行,在 wrap_api_call 中
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.TimeoutError : Locator.text_content: 超时 30000 毫秒。
通话记录:
- 等待定位器(“//aside//button[@data-testid='purchase-cta-button']”)
2025-11-09 23:08:44 | DEBUG | services.epic_games_service : collect_epic_games : 201 | 工作流中的所有任务均已完成
2025-11-09 23:08:44 | DEBUG | main : execute_browser_tasks : 82 | 免费游戏合集已完成
2025-11-09 23:08:44 | DEBUG | main : execute_browser_tasks : 85 | 清理浏览器资源
2025-11-09 23:08:44 | DEBUG | main : execute_browser_tasks : 93 | 浏览器任务执行成功完成
2025-11-09 23:08:44 | DEBUG | main : deploy : 160 | Epic Games 调度程序已成功启动
2025-11-09 23:08:44 | DEBUG | main : deploy : 161 | 当前时间:2025-11-09 23:08:44 CST
2025-11-09 23:08:44 | DEBUG | main : deploy : 166 | 下次执行时间:2025-11-10 12:00:00 CST (job_id: daily_epic_games_task)
2025-11-09 23:08:44 | DEBUG | main : deploy : 166 | 下次执行时间:2025-11-13 00:30:00 CST (job_id: weekly_epic_games_task)
2025-11-09 23:08:44 | DEBUG | main : deploy : 171 | 调度程序正在运行,发送 SIGINT 或 SIGTERM 信号可正常停止
错误: 操作已取消。
特别在这里开始??
{
标题:被遗忘国度的闲散冠军们
"url": " https://store.epicgames.com/en-US/p/banegeneralaudience "
}
2025-11-09 23:08:44 | 错误 | services.epic_games_service : collect_epic_games : 195 | Locator.text_content: 超时 30000 毫秒。
通话记录:
- 等待定位器(“//aside//button[@data-testid='purchase-cta-button']”)