Douyu streams links are expiring i believe and that gives 403 client error or it can be related to something else too
...
Not expiring stream.
Operating system and version: Win10
Streamlink and Python version: 0.9.0 , Python 3.6.1
Printscreen. https://i.imgur.com/8J96NjG.png
Love Streamlink? Please consider supporting our collective. Thanks!
Try to use source_http instead of hls for douyu.com, the http stream doesn't have such a problem. For convenience, add source_http to the beginning of your default-stream in configure file. Make it like this
default-stream=source_http,http,hls,best
hi,the problem that Douyu Client error after 1hour+ are solved?
@eleeeeeee Please try to use the source_http stream instead of hls. The hls stream expires after 1 hour. Just add source_http before other stream options for default-stream in your .streamlinkrc file to make it easy to use. Or try to run from terminal like
streamlink https://www.douyu.com/nado source_http -p mpv
Most helpful comment
@eleeeeeee Please try to use the
source_httpstream instead ofhls. The hls stream expires after 1 hour. Just addsource_httpbefore other stream options fordefault-streamin your .streamlinkrc file to make it easy to use. Or try to run from terminal like