m13253 / danmaku2ass

Convert comments from Niconico/AcFun/bilibili to ASS format
http://m13253.blogspot.com/2013/11/play-danmaku-offline-danmaku2ass.html
GNU General Public License v3.0
560 stars 92 forks source link

py2 分支好像不支持最新的acfun弹幕 #48

Open zhengfan2014 opened 4 years ago

zhengfan2014 commented 4 years ago

acfun弹幕示例:

{
    "onlineCount":1,
    "addCount":8,
    "added":[
        {
            "color":16740362,
            "rank":0,
            "userId":13587975,
            "createTime":1587916624952,
            "danmakuId":166416891,
            "body":"好先进的概念",
            "roleId":0,
            "mode":1,
            "position":128064,
            "size":25
        },
        {
            "color":16740362,
            "rank":5,
            "userId":23400562,
            "createTime":1588765316290,
            "danmakuId":170107303,
            "body":"来了",
            "roleId":0,
            "mode":4,
            "position":3579,
            "size":25
        },
        {
            "color":16777215,
            "rank":5,
            "userId":33007032,
            "createTime":1588167587631,
            "danmakuId":167778244,
            "body":"有p1就不错了,知足吧",
            "roleId":0,
            "mode":1,
            "position":270635,
            "size":25
        },
        {
            "color":16777215,
            "rank":0,
            "userId":266066,
            "createTime":1585824686962,
            "danmakuId":150199607,
            "body":"卧槽",
            "roleId":0,
            "mode":1,
            "position":200446,
            "size":25
        },
        {
            "color":16777215,
            "rank":5,
            "userId":30076018,
            "createTime":1585403643995,
            "danmakuId":148471996,
            "body":"想玩,只能康康了",
            "roleId":0,
            "mode":1,
            "position":13961,
            "size":25
        },
        {
            "color":16777215,
            "rank":0,
            "userId":27564872,
            "createTime":1585116632347,
            "danmakuId":144802425,
            "body":"来了来了",
            "roleId":0,
            "mode":1,
            "position":10180,
            "size":25
        },
        {
            "color":16777215,
            "rank":0,
            "userId":31782103,
            "createTime":1586877612614,
            "danmakuId":156870711,
            "body":"手里的p1瞬间就不香了",
            "roleId":0,
            "mode":1,
            "position":242939,
            "size":25
        },
        {
            "color":16777215,
            "rank":5,
            "userId":29300286,
            "createTime":1589811740177,
            "danmakuId":173357818,
            "body":"这声音",
            "roleId":0,
            "mode":1,
            "position":183943,
            "size":25
        }
    ],
    "host-name":"hb2-acfun-kcs191.aliyun",
    "totalCount":8,
    "result":0,
    "deleteCount":0,
    "deleted":[

    ],
    "fetchTime":1592322615593,
    "interval":10,
    "lastFetchTime":0,
    "totalCountShow":"8",
    "isChange":true
}
m13253 commented 4 years ago

谢谢反馈。不过非常抱歉,

  1. Python 2 已于2020年1月1日寿终正寝了。
  2. 同样的,这个软件其实也到寿命了(7年了)。维护起来难度非常大。

如果你有修复补丁,欢迎提交 Pull Request 给我,我会十分感激。 不过,还请提交 Python 3 版本的代码,请让 Python 2 在电脑历史的博物馆里好好休息吧。