Install
openclaw skills install jpeng-web-scraperWeb scraping skill with JavaScript rendering support. Extract data from websites using CSS selectors, XPath, or AI-powered extraction.
openclaw skills install jpeng-web-scraperExtract data from websites with support for dynamic content.
python3 scripts/scrape.py \
--url "https://example.com/products" \
--selector ".product-name" \
--output ./products.json
python3 scripts/scrape.py \
--url "https://spa-example.com/data" \
--render \
--wait 2000 \
--selector ".data-item"
python3 scripts/scrape.py \
--url "https://example.com/listings" \
--fields '{
"title": "h1.title",
"price": ".price",
"description": ".desc"
}'
python3 scripts/scrape.py \
--url "https://example.com/page/1" \
--crawl 'a[href*="/page/"]' \
--max-pages 10 \
--selector ".item"
python3 scripts/scrape.py \
--url "https://example.com/article" \
--ai-extract "Extract the title, author, and publication date"
{
"success": true,
"url": "https://example.com/products",
"items": [
{"name": "Product 1", "price": "$99"},
{"name": "Product 2", "price": "$149"}
],
"scraped_at": "2024-01-15T10:30:00Z"
}