-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Bug] crawl4ai tool not able to scrape data #2032
Comments
add cannot run in docker as agent: 2025-02-10 16:26:08 from api.routes.v1_router import v1_router |
@isikepalaku It looks like your app does not have the required folder permissions locally? Is this running in Docker? |
I run it on docker |
It could be related to the user you set in Docker? |
from agno.agent import Agent
from agno.tools.crawl4ai import Crawl4aiTools
import warnings
warnings.simplefilter("ignore") # Ignore all warnings
import os
os.environ["OPENAI_API_KEY"] = "api-key"
agent = Agent(tools=[Crawl4aiTools(max_length=None)], show_tool_calls=True)
agent.print_response("Tell me the price and rating mentioned on https://www.amazon.in/Apple-iPhone-Pro-Max-256/dp/B0CHWV2WYK?th=1")
Its not able to bring down the price and rating specified for my use case
The text was updated successfully, but these errors were encountered: