diff --git a/SullyGnomeRobot.py b/SullyGnomeRobot.py index 34f355b..80a2dc2 100644 --- a/SullyGnomeRobot.py +++ b/SullyGnomeRobot.py @@ -16,7 +16,7 @@ def download(url): opts = FirefoxOptions() -## opts.add_argument("--headless") + opts.add_argument("--headless") driver=webdriver.Firefox(options=opts) @@ -110,10 +110,6 @@ def download(url): break - - - - print("checking is file exists... [loop]") existsAlreadyVersionOne = DiskUtils.check_download_exists_matching_url_version_one(url) @@ -124,9 +120,9 @@ def download(url): print(f"The file matching the url '{url}' DOES INDEED exists. (version 1)") -## print("sleeping for 4 secs before shutting down robot") -## -## time.sleep(4) + print("sleeping for 4 secs before shutting down robot") + + time.sleep(4) print("shutting down the robot") @@ -152,6 +148,4 @@ def download(url): ########################################## - - print(f"complete -> SullyGnomeRobot -> download() -> {url}")