Ignore Niconico advanced comments
This commit is contained in:
parent
cf8e1b3944
commit
665878fd72
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue