|
@ -3,16 +3,7 @@ |
|
|
import argparse |
|
|
import argparse |
|
|
import time |
|
|
import time |
|
|
import getpass |
|
|
import getpass |
|
|
|
|
|
import deletefb.tools.wall as wall |
|
|
import tools.wall as wall |
|
|
|
|
|
|
|
|
|
|
|
from seleniumrequests import Chrome |
|
|
|
|
|
from selenium.webdriver.common.action_chains import ActionChains |
|
|
|
|
|
from selenium.webdriver.chrome.options import Options |
|
|
|
|
|
from selenium.common.exceptions import NoSuchElementException, StaleElementReferenceException |
|
|
|
|
|
|
|
|
|
|
|
MAX_POSTS = 5000 |
|
|
|
|
|
SELENIUM_EXCEPTIONS = (NoSuchElementException, StaleElementReferenceException) |
|
|
|
|
|
|
|
|
|
|
|
def run_delete(): |
|
|
def run_delete(): |
|
|
parser = argparse.ArgumentParser() |
|
|
parser = argparse.ArgumentParser() |
|
|