Fix tildes deleted comment parser error

This commit is contained in:
Tanner Collin 2020-01-28 04:19:26 +00:00
parent 9078b567f0
commit b3d2eeb67f

View File

@ -52,6 +52,8 @@ def comment(i):
if i.find('div', class_='is-comment-removed'):
return False
if i.find('div', class_='is-comment-deleted'):
return False
c = {}
lu = i.find('a', class_='link-user')
@ -120,7 +122,7 @@ if __name__ == '__main__':
#print(self_post)
#li_comment = story('gqx')
#print(li_comment)
broken = story('ikn')
broken = story('l11')
print(broken)
# make sure there's no self-reference