0987363 / douyutv-fix

based on HexPang v1.0.5, fixed play video
48 stars 13 forks source link

Issue on douyutv.py line 68 data = api.loadRoom(roomId[0]) # helper.request("room/" + roomId[0]) #5

Closed ashtonfei closed 4 years ago

ashtonfei commented 8 years ago

data 的返回的是一个空的List,而不是一个Dict,导致69,70出现错误。

68 data = api.loadRoom(roomId[0]) # helper.request("room/" + roomId[0])

69 rtmp_url = data["rtmp_url"]

70 rtmp_live = data["rtmp_live"]

0987363 commented 4 years ago

fixed it