diff --git a/danmaku2ass.py b/danmaku2ass.py index 9566be4..7cfff7d 100755 --- a/danmaku2ass.py +++ b/danmaku2ass.py @@ -108,6 +108,8 @@ def ReadCommentsNiconico(f, fontsize): for comment in comment_element: try: c = str(comment.childNodes[0].wholeText) + if c.startswith('/'): + continue # ignore advanced comments pos = 0 color = 0xffffff size = fontsize