Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug] crawl4ai tool not able to scrape data #2032

Closed
GauravKasat opened this issue Feb 6, 2025 · 5 comments
Closed

[Bug] crawl4ai tool not able to scrape data #2032

GauravKasat opened this issue Feb 6, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@GauravKasat
Copy link

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

@GauravKasat GauravKasat added the bug Something isn't working label Feb 6, 2025
@isikepalaku

This comment has been minimized.

@dirkbrnd
Copy link
Contributor

@isikepalaku It looks like your app does not have the required folder permissions locally? Is this running in Docker?

@isikepalaku

This comment has been minimized.

@dirkbrnd
Copy link
Contributor

It could be related to the user you set in Docker?

@manthanguptaa
Copy link
Contributor

Closing due to inactivity

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants