-
-
Notifications
You must be signed in to change notification settings - Fork 169
Description
After entering the site address, I immediately receive an error. I have tried various ways to fix it and used different models, but I still have this problem, both on Windows and Mac, and I don't know what exactly it could be.
Erorr:
TypeError: Scrapeless.init() got an unexpected keyword argument 'api_key'
Traceback:
File "/Users/Nomercya/Documents/CyberScraper-2077/main.py", line 554, in
main()
~~~~^^
File "/Users/Nomercya/Documents/CyberScraper-2077/main.py", line 507, in main
st.session_state.web_scraper_chat = initialize_web_scraper_chat()
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/Nomercya/Documents/CyberScraper-2077/main.py", line 217, in initialize_web_scraper_chat
web_scraper_chat = StreamlitWebScraperChat(model_name=model, scrapeless_config=scrapeless_config)
File "/Users/Nomercya/Documents/CyberScraper-2077/app/streamlit_web_scraper_chat.py", line 24, in init
self.web_extractor = WebExtractor(model_name=model_name, scrapeless_config=scrapeless_config)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Nomercya/Documents/CyberScraper-2077/src/web_extractor.py", line 64, in init
self.scrapeless = Scrapeless(api_key=self.scrapeless_config.api_key)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Screen Shot :
- OS: Mac OS Tahoe 26.0
- Browser : FireFox and Safari