From 91da34db30d5c7a9a59ec1fa7b735fae602d8da1 Mon Sep 17 00:00:00 2001 From: Mennaruuk <52135169+Mennaruuk@users.noreply.github.com> Date: Mon, 14 Feb 2022 02:18:35 -0500 Subject: [PATCH] remove stupid cls thingy --- twayback B/twayback.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/twayback B/twayback.py b/twayback B/twayback.py index c090f33..4fef296 100644 --- a/twayback B/twayback.py +++ b/twayback B/twayback.py @@ -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='') @@ -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) @@ -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':