-
Notifications
You must be signed in to change notification settings - Fork 210
Description
AttributeError: 'NoneType' object has no attribute 'startswith'
Traceback:
File "C:\Users\kahool\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "C:\Users\kahool\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "C:\Users\kahool\AI_WEBSCRAPER\main.py", line 20, in
dom_content = scrape_website(url)
File "C:\Users\kahool\AI_WEBSCRAPER\scrape.py", line 14, in scrape_website
sbr_connection = ChromiumRemoteConnection(SBR_WEBDRIVER, "goog", "chrome")
File "C:\Users\kahool\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chromium\remote_connection.py", line 36, in init
super().init(
File "C:\Users\kahool\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 352, in init
self._proxy_url = self.client_config.get_proxy_url()
File "C:\Users\kahool\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\remote\client_config.py", line 240, in get_proxy_url
"https_proxy" if self.remote_server_addr.startswith("https://") else "http