@Kaedei 大神,我又有一个问题请教,关于弹幕xml。我想把弹幕里时间最靠后的一条读取出来作为近似的视频时长,现在的问题有两个:xml的地址是不是这样的?“
http://comment.bilibili.tv/1115746.xml”,如果是的话怎么能够解码成类似于浏览器上能看到的样子,比如
<d p="1.293,1,25,16777215,1379598176,0,dd7632b7,308679297">再顶~</d><d p="7.363,1,25,16777215,1379598350,0,e228b707,308681133">二楼~</d><d p="33.17,1,25,16777215,1379598379,0,e228b707,308681450">捂脸高产~</d><d p="7.548,1,25,16777215,1379598396,0,fa69da7c,308681631">看看如何</d><d p="54.177,1,25,16777215,1379598442,0,fa69da7c,308682107">感觉不错</d><d p="119.292,1,25,16777215,1379598507,0,fa69da7c,308682784">蛮好的</d><d p="95.71,1,25,16777215,1379598524,0,835a0f65,308682969">好词~~~~~~</d><d p="33.967,1,25,16777215,1379598598,0,44da6d90,308683694">捂脸</d><d p="220.549,1,25,16777215,1379598609,0,fa69da7c,308683805">词再好些就好了</d><d p="89.064,1,25,16777215,1379598653,0,44da6d90,308684271">我先收藏鸟~~~~~~~~~~~</d><d p="248.474,1,25,16777215,1379598820,0,44da6d90,308686037">好吃</d>
这样的,用eclipse的又是乱码,而且这次和gzip无关。。。
其二是弹幕的parameter是什么意思?哪一个是代表弹幕出现的时间?
I