HTML-to-Selenium
分析网页HTML结构并生成Selenium自动化脚本,适用于网页元素识别与控制。
下载 588
支持动态页面渲染的网页数据抓取技能,可使用多种选择器提取结构化信息。
openclaw skills install @jpengcheng523-netizen/jpeng-web-scraper命令、参数、文件名以原文为准
从网站中提取数据,支持动态内容渲染。
python3 scripts/scrape.py \
--url "https://example.com/products" \
--selector ".product-name" \
--output ./products.jsonpython3 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"
}已收录 6 个 Skill