chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 581 forks source link

not working for douyutv #1213

Closed ghost closed 8 years ago

ghost commented 8 years ago

livestreamer http://www.douyutv.com/99039

[cli][info] Found matching plugin douyutv for URL http://www.douyutv.com/99039 error: Unable to validate JSON: Unable to validate key 'data': u'\u63a5\u53e3\u5df2\u5173\u95ed' does not equal None or Type of u'\u63a5\u53e3\u5df2\u5173\u95ed' should be 'dict' but is 'unicode

OS:win7 64bit ,livestreamer version:1.12.2

i try to livestreamer twitch, it works, but douyutv not working

rbong commented 8 years ago

Tried with that channel. Every channel is working on Linux. I don't have Windows to check, but it sounds like it could be an encoding error.

0834dfbd2b commented 8 years ago

sounds strange I have no problems with it but I may be useing an old version, if you try to search on it you can see multiple people have had the same problem in the past. #886 #891 #925 #938

ghost commented 8 years ago

@rbong same issue on ubuntu 14.04

sudo pip install livestreamer livestreamer http://www.douyutv.com/10 best

[cli][info] Found matching plugin douyutv for URL http://www.douyutv.com/10 error: Unable to validate JSON: Unable to validate key 'data': u'\u63a5\u53e3\u5df2\u5173\u95ed' does not equal None or Type of u'\u63a5\u53e3\u5df2\u5173\u95ed' should be 'dict' but is 'unicode'

intact commented 8 years ago

@myskn You need a newer version of livestreamer

ghost commented 8 years ago

@intact you are right! i used development version it works now!