From ac4a56ff65b33c792c900a16cbcd84ad7a1d2d56 Mon Sep 17 00:00:00 2001 From: skadogg Date: Tue, 5 Mar 2024 18:44:13 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=20Renames=20and=20disables=20click?= =?UTF-8?q?=5Fthrough=5Fprivacy=5Fmodal=20Fixes=20#113?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/auto_sign_in.py | 2 +- modules/justwatch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/auto_sign_in.py b/modules/auto_sign_in.py index cdc5c44..09d8aec 100644 --- a/modules/auto_sign_in.py +++ b/modules/auto_sign_in.py @@ -55,7 +55,7 @@ def sign_in(driver): time.sleep(sleep_at_the_end) -def click_through_privacy_model(driver): +def click_through_privacy_modal(driver): # input('Please acknowledge the privacy settings, and press Enter to continue.') # Wait before trying to click diff --git a/modules/justwatch.py b/modules/justwatch.py index 6c7c92a..9085517 100644 --- a/modules/justwatch.py +++ b/modules/justwatch.py @@ -303,7 +303,7 @@ def open_site_conn(): # # main_window_handle = driver.window_handles[0] # Handle privacy modal - modules.auto_sign_in.click_through_privacy_model(driver) + # modules.auto_sign_in.click_through_privacy_modal(driver) # Sign in to JustWatch using stored credentials (my_data/secret_login.bin) logging.debug('Signing in')