Official Python library for Oxylabs Scraper APIs (Web Scraper API, Real-Time Crawls, etc.). Current version 3.0.0, released Apr 2025. Active development with monthly releases.
pip install oxylabsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Instantiate WebScraper with credentials from environment variables, then call .get() on a URL.
Use async/await with RealTimeCrawl. For sync, stick to v2.x.
Set OXYLABS_USERNAME and OXYLABS_PASSWORD environment variables.
Wrap in try/except: except oxylabs.exceptions.OxylabsConnectionError: ...