Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startswith #9

Open
karimali900 opened this issue Nov 16, 2024 · 0 comments
Open

startswith #9

karimali900 opened this issue Nov 16, 2024 · 0 comments

Comments

@karimali900
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant