diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-12-02 21:50:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 21:50:26 +0100 |
commit | 045d4073ee55f8bc08a2fbbf90877a01c24df5ab (patch) | |
tree | 0ba2ad0cb7fffd5b4882e2dad25bea1b6f984e33 /g4f/Provider/selenium/Phind.py | |
parent | Merge pull request #1301 from xtekky/go (diff) | |
parent | Add get_session_from_browser as cloudflare bypass (diff) | |
download | gpt4free-045d4073ee55f8bc08a2fbbf90877a01c24df5ab.tar gpt4free-045d4073ee55f8bc08a2fbbf90877a01c24df5ab.tar.gz gpt4free-045d4073ee55f8bc08a2fbbf90877a01c24df5ab.tar.bz2 gpt4free-045d4073ee55f8bc08a2fbbf90877a01c24df5ab.tar.lz gpt4free-045d4073ee55f8bc08a2fbbf90877a01c24df5ab.tar.xz gpt4free-045d4073ee55f8bc08a2fbbf90877a01c24df5ab.tar.zst gpt4free-045d4073ee55f8bc08a2fbbf90877a01c24df5ab.zip |
Diffstat (limited to 'g4f/Provider/selenium/Phind.py')
-rw-r--r-- | g4f/Provider/selenium/Phind.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/g4f/Provider/selenium/Phind.py b/g4f/Provider/selenium/Phind.py index b9a37f97..2722307d 100644 --- a/g4f/Provider/selenium/Phind.py +++ b/g4f/Provider/selenium/Phind.py @@ -6,7 +6,7 @@ from urllib.parse import quote from ...typing import CreateResult, Messages from ..base_provider import BaseProvider from ..helper import format_prompt -from ..webdriver import WebDriver, WebDriverSession +from ...webdriver import WebDriver, WebDriverSession class Phind(BaseProvider): url = "https://www.phind.com" @@ -26,7 +26,6 @@ class Phind(BaseProvider): creative_mode: bool = None, **kwargs ) -> CreateResult: - driver.start_session with WebDriverSession(webdriver, "", proxy=proxy) as driver: from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait |