Skip to content

[⚠Buggy] Convert niconico (nicovideo.jp) comments xml to bilibili danmaku xml / ニコニコ形式のコメントxmlを、bilibili形式の弾幕xmlに変換します

License

Notifications You must be signed in to change notification settings

aorinngoDo/nico_xml_to_bili

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nico_xml_to_bili

Convert niconico (nicovideo.jp) comments (danmaku) xml to bilibili danmaku xml

ニコニコのxml形式のコメントをbilibiliのxml形式のコメント(弾幕/danmaku/danmu)に変換するツール



Why made this tool?

Because there are few applications that can handle niconico xml files.

On the other hand, there are many applications developed in China that can handle bilibili xml files.


ニコニコのxmlファイルを扱えるアプリが少なく、逆にbilibiliのxmlファイルを扱えるアプリは中国国内で多数開発されているから。

特にAndroidでローカルファイルを見ようとすると、既存ツールでは再生速度が変えられなかったり、PiPが使えなかったりと不便に感じることも多かった。

主に生放送コメントを変換することを自身の目的としているため、細かいレイアウトは考慮していません。



Usage

usage: nico_xml_to_bili.py [-h] [-y] input [output]

niconico danmaku xml to bilibili danmaku xml.

positional arguments:
  input            Input filename.
  output           Output filename. (Optional)

options:
  -h, --help       show this help message and exit
  -y, --overwrite  If there is a file with the same name, overwrite it with the converted file


What can/can't do?

  • Basic comments / 基本的なコメント
  • Color, font size, and position data written in "Nicoscript" / ニコスクリプトで書かれた色、大きさ、位置
  • Delete comments that disturb, such as commands by management / 運営コマンドなど、邪魔になるコメント削除
  • time on screen and font data written in "Nicoscript" / ニコスクリプトで書かれた秒数、フォント
  • HTML contained in comments / コメントに含まれるHTML
  • Survey function / アンケート(投票)機能
  • etc. / 他の様々な未実装機能


Contribute

It is in the development stage and may contain various bugs.

開発中で、様々な不具合を含む可能性があります。

  1. Please use "Issues" if you encounter problems.
    不具合に遭遇したら、"Issues"を利用してください。
  2. Please use "Pull Requests" if you want to help improve the functionality of the code. コードを改良してくれる方は、"Pull Requests"を利用してください。
  3. Please use "Discussion" for questions and discussions. 質問や議論したいことがあれば、"Discussion"を利用してください。


Related Links

About

[⚠Buggy] Convert niconico (nicovideo.jp) comments xml to bilibili danmaku xml / ニコニコ形式のコメントxmlを、bilibili形式の弾幕xmlに変換します

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages