Ignore Niconico advanced comments

This commit is contained in:
Star Brilliant 2013-11-16 23:14:24 +08:00
parent cf8e1b3944
commit 665878fd72

View File

@ -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