-
Notifications
You must be signed in to change notification settings - Fork 579
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
Douyutv error #1411
Comments
Same. |
the api have been changed so.... |
Thanks for the fix, steven. It seems to work with the majority of streams, specifically the ones that use a six digit number for the user URL, but it's not working for me in the streams that don't follow this format. For example, douyu.com/chtmac produces the following error: error: Unable to open URL: http://www.douyu.com/lapi/live/getPlay/chtmac (403 Cl |
@dojima |
现在人气高的直播间Available streams只剩source,以前人气高的直播间Available streams还有一个middle可选,请问还能和以前一样吗? |
@bupmc |
@steven7851 |
Thanks a lot! |
现在斗鱼应该改版了,域名改成www.douyu.com, livestreamer -l debug http://www.douyu.com/692053 worst 如果把域名改成www.douyutv.com,会有以下错误: livestreamer -l debug http://www.douyutv.com/692053 worst |
Yeah, I had that issue when douyutv.com first started redirecting to douyu.com. To fix it, I just made a copy of douyutv.py in the plugins directory and renamed it as douyu.py, then changed every instance of 'douyutv' inside the file to 'douyu'. There should be two mentions that need to be replaced. After that, just save the file, and it should work fine. |
@steven7851 I've tried your patch. It's awesome! Thanks a lot. But I also found a problem for rooms of non-digit room ID. And I fix it. Here the code is. The problem only exists for rooms that have particular pages for promotion, like LPL, Blizzard, etc. I did this only for LPL channel and haven't tested a lot for other cases. Feel free to use it and report any problems that you encounter! |
Thanks for your work. I find the code problem: When in a event page, it exists many "data-room_id=". Livestreamer doesn't have list moudle, so there is no method to handle that. exp. http://www.douyu.com/cms/zt/lpl.html
Or you can try another project like ykdl which has list moudle. |
@steven7851 請教該怎麼使用/下載您所提供的檔案/code? |
@steven7851 thank you very much |
这里可以参考
|
Windows nightly build was working fine until hours ago:
URL: www.douyutv.com/321358
error: Unable to validate JSON: Unable to validate key 'data': u'api\u8eab\u4efd
\u4fe1\u606f\u9519\u8bef' does not equal None or Type of u'api\u8eab\u4efd\u4fe1
\u606f\u9519\u8bef' should be 'dict' but is 'unicode'
The text was updated successfully, but these errors were encountered: