Setup and compatibility
What Python versions does the SDK support?
What Python versions does the SDK support?
Python 3.6 and later. The SDK has no other runtime dependencies beyond
requests and urllib3, which are installed automatically with pip install zenrows.Do I need to install requests separately?
Do I need to install requests separately?
No.
requests (and urllib3) are installed automatically as dependencies when you run pip install zenrows.Does the SDK support Proxy Mode?
Does the SDK support Proxy Mode?
No. The SDK talks to the Universal Scraper API’s endpoint directly (API Mode). If you want to use ZenRows as a proxy in your own HTTP client instead, see the Proxy Mode documentation rather than the SDK.
Requests, errors, and concurrency
How do I set a request timeout?
How do I set a request timeout?
Pass
timeout as an extra keyword argument to get, post, or put. It’s forwarded to the underlying requests call: client.get(url, timeout=30). We recommend not setting a timeout below 3 minutes, since canceling a request client-side doesn’t immediately free up the concurrency slot on ZenRows’ side.Why isn't my request raising an exception on failure?
Why isn't my request raising an exception on failure?
By design, the SDK returns the
requests.Response object even for non-2xx status codes. It doesn’t raise automatically. Check response.ok or response.status_code, or call response.raise_for_status() yourself if you want an exception. See Error Handling and Retries.Project and support
Is there a Node.js version of the SDK?
Is there a Node.js version of the SDK?
Yes. See the ZenRows Node.js SDK on npm.
Where can I see the SDK's source code or report a bug?
Where can I see the SDK's source code or report a bug?
The SDK is open source on GitHub. Open an issue there for bugs, or a pull request if you’d like to contribute.
What license is the SDK released under?
What license is the SDK released under?
MIT. You can use, modify, and distribute it freely; see the LICENSE file in the repository.
Still stuck?
Check the API Error Codes reference, or contact support directly.