Crawlee Web Scraper
/install crawlee-web-scraper
crawlee-web-scraper
Drop-in replacement for web_fetch when sites block automated requests. Crawlee handles session management, retry logic, and bot-detection evasion automatically.
Scripts
crawlee_fetch.py— main scraper; accepts a single URL or a file of URLs; returns JSONcrawlee_http.py— library helper; triesrequestsfirst, falls back to Crawlee on 403/429/503
Usage
# Single URL, return HTML preview
python3 scripts/crawlee_fetch.py --url "https://example.com"
# Single URL, extract text (strips HTML tags)
python3 scripts/crawlee_fetch.py --url "https://example.com" --extract-text
# Bulk scrape from file
python3 scripts/crawlee_fetch.py --urls-file urls.txt --output results.json
Library usage
from crawlee_http import fetch_with_fallback
resp = fetch_with_fallback("https://example.com")
print(resp.status_code, resp.text[:500])
Output
JSON array with one object per URL:
[
{
"url": "https://example.com",
"status": 200,
"fetched_at": "2026-01-01T00:00:00Z",
"length": 12345,
"text": "Page content..."
}
]
Installation
pip install crawlee requests
When to use
web_fetchreturns 403 / 429 / empty- Bulk scraping 10+ URLs
- Sites using Cloudflare or similar bot protection
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install crawlee-web-scraper - After installation, invoke the skill by name or use
/crawlee-web-scraper - Provide required inputs per the skill's parameter spec and get structured output
What is Crawlee Web Scraper?
Resilient web scraper with bot-detection evasion using the Crawlee library. Use when web_fetch is blocked by rate limits or bot detection. Supports single UR... It is an AI Agent Skill for Claude Code / OpenClaw, with 187 downloads so far.
How do I install Crawlee Web Scraper?
Run "/install crawlee-web-scraper" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Crawlee Web Scraper free?
Yes, Crawlee Web Scraper is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Crawlee Web Scraper support?
Crawlee Web Scraper is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Crawlee Web Scraper?
It is built and maintained by Bryan Tegomoh, MD, MPH (@bryantegomoh); the current version is v1.0.0.