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

录制403报错(出现大量flv文件)的解决方法 #87

Closed
ZTMMZ opened this issue Jan 2, 2023 · 1 comment
Closed

录制403报错(出现大量flv文件)的解决方法 #87

ZTMMZ opened this issue Jan 2, 2023 · 1 comment
Assignees

Comments

@ZTMMZ
Copy link

ZTMMZ commented Jan 2, 2023

解决方法
BiliLiveRecorder.py, line 28
把请求头Referer字段的值改成固定的'https://live.bilibili.com/'即可

适用于控制台无明显报错,但是data/records/对应目录下出现大量552bytes的、内容为html 403报错的flv文件

2022年12月大概第二周左右开始就出现这个问题了,应该是B站改了直播流的Referer校验。总之如果能排除风控问题可以试一下这个解决方案。

@ZhaoWeicheng98 ZhaoWeicheng98 self-assigned this Feb 5, 2023
@ZhaoWeicheng98
Copy link
Member

感谢反馈,已在最新release中修改。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants