Closed asahui closed 9 years ago
Have you done necessary testing?
And could you submit a sample JSON file for review?
Thanks.
I have done some testing, but just some. For example: http://www.acfun.tv/v/ac2006459 Its vid is 2360906 So the comment json file can be downloaded via url below. http://static.comment.acfun.mm111.net/2360906 It's the same file download via you-get.
I have tested about 5 or 6 comment json files either downloaded via you-get or downloaded via browser. All of these json files are formatted as '[ [{...}, {...}], [{...}, {...}], [{...}, {...}] ]', mostly '[ [], [], [{...}, {...}]', the first and the second list are blank.
Got that. It seems that the comment format has changed in the last two years.
I will merge this request.
As acfun danmaku json file is formatted as '[ [{...}, {...}], [{...}, {...}], [{...}, {...}] ]', it is necessary to flatten the python list loaded from the json file.