Closed s-kk closed 4 years ago
Thanks for your feedback! it looks like the streaming server needs user agent authentication, i will fix it later
problem solved!
Still getting 403 Forbidden.
Also, new output in FFmpeg
[https @ 0x55e7533318c0] No trailing CRLF found in HTTP header.
Seems like the header is missing CRLF string.
Thanks for reminding! The bug has been fixed
I've read the commit and tried the script and found that FFmpeg does not come with -referer
option. FFmpeg stopped with Unrecognized option 'referer'
.
Probably need to combine user agent and referer into one -header
option.
The script works fine on my pc without any further 403 errors. The referer option is valid and it requires a valid address, e.g.
ffmpeg -referer "https://live.bilibili.com/h5/15152878"
You can also learn more options in the ffmpeg documentation http://ffmpeg.org/ffmpeg-protocols.html#http
Hello! I've set up this recorder on my PC and when I started it,
downloader.py
andffmpeg
returned error code403 Forbidden
on m3u8 stream file. Error output:Is it because the upstream streaming server banned direct m3u8 stream? Thanks for help!