π¦ ClawHub
Crawl4AI Web Scraper
by @angusthefuzz
Full web page scraping with JavaScript rendering via local Crawl4AI instance, delivering clean markdown or detailed JSON including links and media.
TERMINAL
clawhub install crawl-for-aiπ About This Skill
name: crawl-for-ai description: Web scraping using local Crawl4AI instance. Use for fetching full page content with JavaScript rendering. Better than Tavily for complex pages. Unlimited usage. version: 1.0.1 author: Ania requiresEnv: - CRAWL4AI_URL metadata: clawdbot: emoji: "π·οΈ" requires: bins: ["node"]
Crawl4AI Web Scraper
Local Crawl4AI instance for full web page extraction with JavaScript rendering.
Endpoints
Proxy (port 11234) β Clean output, OpenWebUI-compatible
[{page_content, metadata}]Direct (port 11235) β Full output with all data
{results: [{markdown, html, links, media, ...}]}Usage
# Via script
node {baseDir}/scripts/crawl4ai.js "url"
node {baseDir}/scripts/crawl4ai.js "url" --json
Script options:
--json β Full JSON responseOutput: Clean markdown from the page.
Configuration
Required environment variable:
CRAWL4AI_URL β Your Crawl4AI instance URL (e.g., http://localhost:11235)Optional:
CRAWL4AI_KEY β API key if your instance requires authenticationFeatures
API
Uses your local Crawl4AI instance REST API. Auth header only sent if CRAWL4AI_KEY is set.
π‘ Examples
# Via script
node {baseDir}/scripts/crawl4ai.js "url"
node {baseDir}/scripts/crawl4ai.js "url" --json
Script options:
--json β Full JSON responseOutput: Clean markdown from the page.
βοΈ Configuration
Required environment variable:
CRAWL4AI_URL β Your Crawl4AI instance URL (e.g., http://localhost:11235)Optional:
CRAWL4AI_KEY β API key if your instance requires authentication