Skip to content

Commit

Permalink
remove stupid cls thingy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mennaruuk authored Feb 14, 2022
1 parent d15e019 commit 91da34d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions twayback B/twayback.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
os.system('cls')

parser = argparse.ArgumentParser()
parser.add_argument('-u','--username', required=True, default='')
Expand Down Expand Up @@ -127,7 +126,6 @@
wayback_screenshot.append(wayback_url_screenshot)
wayback_screenshot= [g[:41] + 'if_' + g[41:] for g in wayback_screenshot]

os.system('cls')

number_of_elements = len(data5)

Expand All @@ -138,7 +136,7 @@
sys.exit()
else:
answer = input(f"\n{number_of_elements} deleted Tweets have been found\nWould you like to download the Tweets, get their text only, both, or take screenshots?\nType 'download' or 'text' or 'both' or 'screenshot'. Then press Enter. \n")
os.system('cls')

# Actual downloading occurs here
# For some reason, I get connection is aborted error when I use session, so I switched to requests instead for downloading
if answer.lower() == 'download':
Expand Down

0 comments on commit 91da34d

Please sign in to comment.