Files
crewAI/crewai_tools/tools/oxylabs_google_search_scraper_tool
Greyson Lalonde e16606672a Squashed 'packages/tools/' content from commit 78317b9c
git-subtree-dir: packages/tools
git-subtree-split: 78317b9c127f18bd040c1d77e3c0840cdc9a5b38
2025-09-12 21:58:02 -04:00
..

OxylabsGoogleSearchScraperTool

Scrape any website with OxylabsGoogleSearchScraperTool

Installation

pip install 'crewai[tools]' oxylabs

Example

from crewai_tools import OxylabsGoogleSearchScraperTool

# make sure OXYLABS_USERNAME and OXYLABS_PASSWORD variables are set
tool = OxylabsGoogleSearchScraperTool()

result = tool.run(query="iPhone 16")

print(result)

Arguments

  • username: Oxylabs username.
  • password: Oxylabs password.

Get the credentials by creating an Oxylabs Account here.

Advanced example

Check out the Oxylabs documentation to get the full list of parameters.

from crewai_tools import OxylabsGoogleSearchScraperTool

# make sure OXYLABS_USERNAME and OXYLABS_PASSWORD variables are set
tool = OxylabsGoogleSearchScraperTool(
    config={
        "parse": True,
        "geo_location": "Paris, France",
        "user_agent_type": "tablet",
    }
)

result = tool.run(query="iPhone 16")

print(result)