URLpipe in Python
Complete programs for Python 3.9+, using requests, with an explicit timeout on every call (it has none by default). Each page has the request, the async variant with a webhook, and the error handling, and each program on it was run against a stub of the API before it was published.
requests is the only dependency; there is no SDK to install, because the API is one POST per job.
Python recipes
- Take a screenshot of a website in PythonTake a screenshot of a website with requests: the request, the async variant and the error handling.See the code
- Convert a web page to Markdown in PythonConvert a web page to Markdown with requests: the request, the async variant and the error handling.See the code
- Get the rendered HTML of a JavaScript page in PythonGet the rendered HTML of a JavaScript page with requests: the request, the async variant and the error handling.See the code
- Get a page's metadata and Open Graph tags in PythonGet a page's metadata and Open Graph tags with requests: the request, the async variant and the error handling.See the code
- Run a Lighthouse audit in PythonRun a Lighthouse audit with requests: the request, the async variant and the error handling.See the code
- Verify a webhook signature in PythonA Python webhook receiver that checks the HMAC signature, the timestamp and a rotation.See the code
Turn any URL into clean data in minutes.
Free plan, no card. Confirm your email and your API key is live — you'll be making real requests in minutes.