From 19ccd8f957705352caae9c869c0d74e9021ba0dc Mon Sep 17 00:00:00 2001 From: Logan Williams Date: Tue, 21 Nov 2023 12:44:57 +0100 Subject: [PATCH] Change Webdriver manager import --- instagram_locations/instagram_locations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instagram_locations/instagram_locations.py b/instagram_locations/instagram_locations.py index f172564..0da01e8 100644 --- a/instagram_locations/instagram_locations.py +++ b/instagram_locations/instagram_locations.py @@ -118,7 +118,7 @@ def get_insta_cookies(): from selenium import webdriver from selenium.webdriver.chrome.service import Service as ChromiumService from webdriver_manager.chrome import ChromeDriverManager - from webdriver_manager.core.utils import ChromeType + from webdriver_manager.core.os_manager import ChromeType """ Attempts to run selenium, provide user with the login form and extract cookies from page to be used in program. Returns cookies formatted as name=value;name=value;... @@ -261,4 +261,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()