LangChain
Use the LangChain framework alongside the Oxylabs Web Scraper API to pull web-data and feed it into LLM workflows—collect, process, analyse in one pipeline.
Overview
Getting started
pip install -qU langchain-oxylabs langchain-openai langgraph requests python-dotenvEnvironment setup
OXYLABS_USERNAME=your-username
OXYLABS_PASSWORD=your-password
OPENAI_API_KEY=your-openai-keyIntegration methods
Using langchain-oxylabs package
Using the Web Scraper API
Target-specific scrapers
Website
Source parameter
Required parameters
Advanced configuration
Handling dynamic content
Setting user agent type
Using target-specific parameters
Error handling
Last updated
Was this helpful?

