gcrawl-sdk
Official Python SDK for GCrawl — Scrape, crawl, screenshot, fetch links, and search web pages with ease.
Installation
pip install gcrawl-sdk
Quick Start
from gcrawl_sdk import GcrawlClient, ScrapeOptions
client = GcrawlClient(api_key="your-api-key")
# Scrape a website (synchronous polling)
result = client.scrape(
url="https://gramosoft.tech",
options=ScrapeOptions(markdown_enabled=True, screenshot_enabled=True),
wait=True
)
print("Scraped Markdown:", result.markdown)
print("Screenshot URL:", result.screenshot_url)
# Search web synchronously
search_res = client.search("gramosoft", limit=5, geo="IN")
for res in search_res.results:
print(res.position, res.title, res.url)
API Key
Set your API key as an environment variable:
export GCRAWL_API_KEY="your-api-key"
Or pass it directly to the client:
client = GcrawlClient(api_key="your-api-key")
Release files for gcrawl-sdk 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gcrawl_sdk-0.1.2.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gcrawl_sdk-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.7 kB
Release files / gcrawl_sdk-0.1.2.tar.gz
| Download URL | gcrawl_sdk-0.1.2.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc70def431b2dc571ba4eca6b95d228046c9491efc0053047e78d64d0dfc352e
|
|
BLAKE2b-256 checksum How to use checksums |
b9e0c06ca86e489d799b55e7cf1371a572023a8f8a3b3f76d648e96322786449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / gcrawl_sdk-0.1.2-py3-none-any.whl
| Download URL | gcrawl_sdk-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d5ad84360a0fbcb928cea56ed78e7d85ccc3ced5a64b4ffaaf5d0f654683050
|
|
BLAKE2b-256 checksum How to use checksums |
2429f2f92a021454678ca7b2f0bce5562bd8b49b5797a4182ba54799b102d018
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|