From c6c14afc6bd029bf64b3f401fb5219123c2291da Mon Sep 17 00:00:00 2001 From: Joe Steele Date: Sun, 30 Jun 2024 21:48:06 -0400 Subject: [PATCH] Updated but still broken writing to excel --- social.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/social.py b/social.py index 24278cc..12550c9 100644 --- a/social.py +++ b/social.py @@ -538,6 +538,8 @@ def get_google_data(driver, local_outputs): # Now find button and click on button video_elements = driver.find_elements(By.XPATH ,'//video') #.get_attribute('src') urlmedia = str((video_elements[0]).get_attribute("src")) + current_url = video_elements[0]._parent.current_url + database_update_row(name,"review_id",current_url,"forceall",local_outputs) # return back away from iframe driver.switch_to.default_content() else: