Ignore Niconico advanced comments
This commit is contained in:
parent
cf8e1b3944
commit
665878fd72
@ -108,6 +108,8 @@ def ReadCommentsNiconico(f, fontsize):
|
|||||||
for comment in comment_element:
|
for comment in comment_element:
|
||||||
try:
|
try:
|
||||||
c = str(comment.childNodes[0].wholeText)
|
c = str(comment.childNodes[0].wholeText)
|
||||||
|
if c.startswith('/'):
|
||||||
|
continue # ignore advanced comments
|
||||||
pos = 0
|
pos = 0
|
||||||
color = 0xffffff
|
color = 0xffffff
|
||||||
size = fontsize
|
size = fontsize
|
||||||
|
Loading…
Reference in New Issue
Block a user