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