Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛[BUG] 小红书录制失败 #887

Open
2 tasks done
lsy0xcc opened this issue Jan 22, 2025 · 4 comments
Open
2 tasks done

🐛[BUG] 小红书录制失败 #887

lsy0xcc opened this issue Jan 22, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@lsy0xcc
Copy link

lsy0xcc commented Jan 22, 2025

⚠️ 确认是否已存在类似问题

  • 我已经搜索过issues,没有找到类似问题

🔧 运行方式

直接运行的exe文件

🐍 如果是使用源代码运行,请选择你的Python环境版本

None

💻 请选择你的系统环境

Windows 10

⚠️ 确认是否已经重试多次

  • 我已经尝试过多次,仍然出现问题

🕹 复现步骤

使用http://xhslink.com/***格式或者https://www.xiaohongshu.com/livestream/***格式录制时会报错,无法录制

😯 问题描述

spider.py``get_xhs_stream_url函数https://www.xiaohongshu.com/api/sns/red/live/app/v1/ecology/outside/share_info?room_id={room_id}已经失效,会返回{'code': 300013, 'success': False, 'data': {}, 'msg': '访问频次异常,请勿频繁操作或重启试试'}
不请求这个接口似乎不会影响获取主播名子anchor_name,也可以正常录制

📜 错误信息

2025-01-22 21:38:35.408 | ERROR | douyinliverecorder.utils:wrapper:42 - message: type: KeyError, 'host_info' in function get_xhs_stream_url at line: 827
2025-01-22 21:38:35.408 | ERROR | main:start_record:1361 - 错误信息: 'list' object has no attribute 'get' 发生错误的行数: 872
2025-01-22 21:41:43.124 | ERROR | douyinliverecorder.utils:wrapper:42 - message: type: KeyError, 'host_info' in function get_xhs_stream_url at line: 827
2025-01-22 21:41:43.125 | ERROR | main:start_record:1361 - 错误信息: 'list' object has no attribute 'get' 发生错误的行数: 870
2025-01-22 21:51:52.799 | ERROR | douyinliverecorder.utils:wrapper:42 - message: type: KeyError, 'host_info' in function get_xhs_stream_url at line: 827
2025-01-22 21:51:52.802 | ERROR | main:start_record:1361 - 错误信息: 'list' object has no attribute 'get' 发生错误的行数: 870
2025-01-22 22:00:26.346 | ERROR | douyinliverecorder.utils:wrapper:42 - message: type: KeyError, 'host_info' in function get_xhs_stream_url at line: 827
2025-01-22 22:00:26.349 | ERROR | main:start_record:1361 - 错误信息: 'list' object has no attribute 'get' 发生错误的行数: 870
2025-01-22 22:06:20.315 | ERROR | douyinliverecorder.utils:wrapper:42 - message: type: KeyError, 'host_info' in function get_xhs_stream_url at line: 827
2025-01-22 22:06:20.318 | ERROR | main:start_record:1361 - 错误信息: 'list' object has no attribute 'get' 发生错误的行数: 870

@lsy0xcc lsy0xcc added the bug Something isn't working label Jan 22, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛[BUG] Please enter a title

@lsy0xcc lsy0xcc changed the title 🐛[BUG] 请输入标题 🐛[BUG] 小红书录制失败 Jan 22, 2025
@lsy0xcc
Copy link
Author

lsy0xcc commented Jan 22, 2025

目前修改的方式:#888
请问怎么才能build这个项目呢,我几乎不懂python

@balalanodada
Copy link

这个我也遇到了,同样录不了

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I've encountered this too, and I can't record it either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants