fix error ERROR - 获取发布时间出错: 'str' object cannot be interpreted as an… - #5
Open
xiao-jay wants to merge 1 commit into
Open
fix error ERROR - 获取发布时间出错: 'str' object cannot be interpreted as an…#5xiao-jay wants to merge 1 commit into
xiao-jay wants to merge 1 commit into
Conversation
…integer Signed-off-by: 晓杰 <2561589453@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Error info:
root@hcss-ecs-1269:~/AIFeedTracker# uv run python main.py --mode monitor --once
AI视频机器人启动中...
2026-01-17 21:31:43 - root - INFO - 初始化AI视频机器人...
2026-01-17 21:31:43 - root - INFO - 配置状态检查:
2026-01-17 21:31:43 - root - INFO - ✅ env_file_exists: True
2026-01-17 21:31:43 - root - INFO - ✅ feishu_configured: True
2026-01-17 21:31:43 - root - INFO - ✅ bilibili_configured: True
2026-01-17 21:31:43 - root - INFO - ✅ cookie_available: True
2026-01-17 21:31:43 - services.feishu.FeishuBot - INFO - 飞书应用模式已配置
2026-01-17 21:31:43 - services.ai_summary.subtitle_fetcher.SubtitleFetcher - INFO - 已加载B站登录凭证
2026-01-17 21:31:43 - services.ai_summary.ai_client.AIClient - INFO - AI客户端初始化成功: service=deepseek, base_url=https://api.deepseek.com, model=deepseek-chat
2026-01-17 21:31:43 - services.ai_summary.service.AISummaryService - INFO - AI总结服务初始化成功
2026-01-17 21:31:43 - root - INFO - AI视频机器人初始化完成
2026-01-17 21:31:43 - services.feishu.FeishuBot - INFO - 开始处理Markdown中的图片链接...
2026-01-17 21:31:44 - services.feishu.FeishuBot - INFO - 飞书卡片消息发送成功: 系统通知 - AI视频机器人
启动动态监控模式...
2026-01-17 21:31:44 - root - INFO - 启动动态监控...
2026-01-17 21:31:44 - services.monitor.MonitorService - INFO - B站凭证创建成功(WBI签名将自动处理)
2026-01-17 21:31:44 - services.monitor.MonitorService - INFO - 评论获取服务初始化成功
2026-01-17 21:31:44 - root - INFO - 加载了 1 个创作者
2026-01-17 21:31:44 - services.feishu.FeishuBot - INFO - 开始处理Markdown中的图片链接...
2026-01-17 21:31:44 - services.feishu.FeishuBot - INFO - 飞书卡片消息发送成功: 系统通知 - AI视频机器人
2026-01-17 21:31:44 - services.monitor.MonitorService - INFO - 检查Cookie是否需要刷新...
2026-01-17 21:31:44 - services.monitor.MonitorService - INFO - Cookie无需刷新
2026-01-17 21:31:45 - services.monitor.MonitorService - INFO - API响应状态: code=0, message=0
2026-01-17 21:31:45 - services.monitor.MonitorService - INFO - 史诗级韭菜: 获取到 12 个最近动态
2026-01-17 21:31:45 - services.monitor.MonitorService - INFO - Found 1 new dynamics for
2026-01-17 21:31:45 - root - ERROR - 获取发布时间出错: 'str' object cannot be interpreted as an integer
2026-01-17 21:31:45 - services.feishu.FeishuBot - INFO - 开始处理Markdown中的图片链接...
2026-01-17 21:31:45 - services.feishu.FeishuBot - INFO - 飞书卡片消息发送成功: = - 哔哩哔哩
2026-01-17 21:31:45 - root - INFO - 资源清理完成