|
@ -41,7 +41,7 @@ def delete_posts(driver, |
|
|
# Tries to be pretty resilient against DOM re-organizations |
|
|
# Tries to be pretty resilient against DOM re-organizations |
|
|
timestamp_exp = "//article//*/header//*/div/a[contains(@href, 'story_fbid')]//text()/.." |
|
|
timestamp_exp = "//article//*/header//*/div/a[contains(@href, 'story_fbid')]//text()/.." |
|
|
|
|
|
|
|
|
button_types = ["Delete post", "Remove tag", "Hide from timeline", "Hide from profile"] |
|
|
button_types = ["Delete post", "Remove Tag", "Hide from timeline", "Hide from profile"] |
|
|
|
|
|
|
|
|
while True: |
|
|
while True: |
|
|
try: |
|
|
try: |
|
|