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.1
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.1.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gcrawl_sdk-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / gcrawl_sdk-0.1.1.tar.gz
| Download URL | gcrawl_sdk-0.1.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce4c0bf3151f5ceba80dbca6e78ab7019b8404f042c619251a157397eb0d634f
|
|
BLAKE2b-256 checksum How to use checksums |
8780d9998b92068060ffac31c1684faf7738aa74151275d993ba28399fdc0e6f
|
| 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.1-py3-none-any.whl
| Download URL | gcrawl_sdk-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d81ecb0b0e754a666e61a2a602139d231c75acd5b0f3433fa875bf7970dbf2fe
|
|
BLAKE2b-256 checksum How to use checksums |
e0062c4664625a162707daca86e0b015e6ffb9e45f03887e10dd767263e7ff05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|