Official Python SDK for the ResilientLink Web Scraping API
Project description
ResilientLink Python SDK
Official Python client for the ResilientLink Web Scraping API.
Installation
pip install resilientlink
Quick Start
from resilientlink import ResilientLink
client = ResilientLink(api_key="YOUR_API_KEY")
result = client.scrape("https://example.com")
print(result["data"]["title"]) # "Example Domain"
print(result["data"]["description"]) # meta description
print(result["data"]["image"]) # OG image URL
Options
result = client.scrape(
"https://example.com",
return_html=True, # include raw HTML
screenshot=True, # base64 PNG (paid plans)
pdf=True, # base64 PDF (paid plans)
bypass_cache=True, # force fresh scrape
wait_for_selector="#app", # wait for CSS selector
wait_ms=2000, # wait 2s before scraping
custom_headers={"Accept-Language": "en-US"},
timeout=30, # seconds
)
Response
{
"success": True,
"cached": False,
"tier": "tier",
"responseTime": 412,
"data": {
"url": "...", "title": "...", "description": "...",
"image": "...", "domain": "...",
"og": {"title": "...", "description": "...", "image": "..."},
"content": {"wordCount": 423, "readTimeMinutes": 2, ...},
"seo": {"keywords": "...", "robots": "...", ...},
"scrapedAt": "2026-..."
}
}
Error Handling
from resilientlink import ResilientLink, ResilientLinkError
client = ResilientLink(api_key="YOUR_API_KEY")
try:
result = client.scrape("https://example.com")
except ResilientLinkError as e:
print(e) # human-readable message
print(e.status_code) # 429 = rate limit, 401 = bad key, 451 = blocked
Get Your API Key
Sign up at resilientlink → Dashboard → API Key.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file resilientlink-1.0.0.tar.gz.
File metadata
- Download URL: resilientlink-1.0.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dd24371aa2d38c1662d75288951fccffabf76efdd1bf9412a28dc006ed4da9f
|
|
| MD5 |
53c969d7189095fc3f96a6a94d29eb1e
|
|
| BLAKE2b-256 |
0c6b7098fbef81310e9a05ddf839447e5d9213b4ee8e789eae500a8e0afabccd
|
Provenance
The following attestation bundles were made for resilientlink-1.0.0.tar.gz:
Publisher:
publish-pypi.yml on silentgodenterprise/resilientlink-pip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
resilientlink-1.0.0.tar.gz -
Subject digest:
8dd24371aa2d38c1662d75288951fccffabf76efdd1bf9412a28dc006ed4da9f - Sigstore transparency entry: 1435085483
- Sigstore integration time:
-
Permalink:
silentgodenterprise/resilientlink-pip@11d36dd07408e91e3958115e9d9144c6a65f3fd9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/silentgodenterprise
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@11d36dd07408e91e3958115e9d9144c6a65f3fd9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file resilientlink-1.0.0-py3-none-any.whl.
File metadata
- Download URL: resilientlink-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f04f48946e2499a24867bb98a2a55252a057709fcb29a793599a19341ee488c1
|
|
| MD5 |
f7e16719fa62d44e544da58b3d4f4910
|
|
| BLAKE2b-256 |
a31b96d51e6cf41dc118961e285a420cfccbf8d89902e71e7b91b16fec048e02
|
Provenance
The following attestation bundles were made for resilientlink-1.0.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on silentgodenterprise/resilientlink-pip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
resilientlink-1.0.0-py3-none-any.whl -
Subject digest:
f04f48946e2499a24867bb98a2a55252a057709fcb29a793599a19341ee488c1 - Sigstore transparency entry: 1435085511
- Sigstore integration time:
-
Permalink:
silentgodenterprise/resilientlink-pip@11d36dd07408e91e3958115e9d9144c6a65f3fd9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/silentgodenterprise
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@11d36dd07408e91e3958115e9d9144c6a65f3fd9 -
Trigger Event:
workflow_dispatch
-
Statement type: