ワンクリックで
web-scraping
网页数据抓取和解析。用于从网站提取结构化数据、自动化网页操作、处理动态页面内容。当需要从网页获取数据时使用此Skill。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
网页数据抓取和解析。用于从网站提取结构化数据、自动化网页操作、处理动态页面内容。当需要从网页获取数据时使用此Skill。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
BFL FLUX API integration guide covering endpoints, async polling patterns, rate limiting, error handling, webhooks, and regional endpoints with Python and TypeScript code examples.
Automate builds, tests, and deployments across web, mobile, and backend applications.
Crypto futures backtesting engine with built-in EMA, RSI, MACD, and Bollinger Band strategies. Fetches OHLCV data from any ccxt-supported exchange (Bybit, Binance, OKX, etc.), runs multi-strategy sweeps, calculates win rate / PnL / drawdown, and exports results to JSON. Use when backtesting trading strategies, comparing parameter combinations, evaluating crypto trading signals, or building a quantitative trading pipeline.
Comprehensive guide for BFL FLUX image generation models. Covers prompting, T2I, I2I, structured JSON, hex colors, typography, multi-reference editing, and model-specific best practices for FLUX.2 and FLUX.1 families.
搜索 / 安装 / 更新 / 删除技能到本项目 src/skills/<slug>/。发现用 npx skills find;安装从技能所在的 GitHub 公开仓库免鉴权拉取(tree API 定位 + raw.githubusercontent 下载,git sparse-checkout 兜底)。辅源 ClawHub 用 npx clawhub --dir skills。所有读写仅限 src/skills/ 内、绝不动 *.py;每次增删改后必须调用 refresh_skills 热加载。用于:'找/装一个 X 技能'、'更新某技能'、'删掉某技能'、'整理技能'。
Premium Skill Creator by Kevin Jeppesen (The Operator Vault). Create better OpenClaw skills with a premium first-use setup wizard pattern, minimal context bloat, and reusable scaffolding. Links: YouTube https://www.youtube.com/@kevin-jeppesen | Skool https://skool.com/operator-vault | Site https://theoperatorvault.io | X https://x.com/seo_ecom | LinkedIn https://www.linkedin.com/in/kevin-jeppesen/ | Facebook https://www.facebook.com/kevinjeppesen/
| name | web-scraping |
| description | 网页数据抓取和解析。用于从网站提取结构化数据、自动化网页操作、处理动态页面内容。当需要从网页获取数据时使用此Skill。 |
本 Skill 提供网页数据抓取和解析能力,支持静态页面和动态渲染页面。
使用 requests 和 BeautifulSoup 处理静态页面:
import requests
from bs4 import BeautifulSoup
def scrape_static_page(url: str) -> dict:
"""抓取静态网页内容"""
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'
}
response = requests.get(url, headers=headers, timeout=10)
response.raise_for_status()
response.encoding = response.apparent_encoding
soup = BeautifulSoup(response.text, 'html.parser')
return {
'title': soup.title.string if soup.title else None,
'text': soup.get_text(separator='\n', strip=True),
'links': [a.get('href') for a in soup.find_all('a', href=True)],
'images': [img.get('src') for img in soup.find_all('img', src=True)]
}
def extract_elements(html: str, selector: str) -> list:
"""使用 CSS 选择器提取元素"""
soup = BeautifulSoup(html, 'html.parser')
elements = soup.select(selector)
return [elem.get_text(strip=True) for elem in elements]
| 选择器 | 说明 |
|---|---|
#id | 选择指定 ID 的元素 |
.class | 选择指定类名的元素 |
tag | 选择指定标签的元素 |
[attr=value] | 选择指定属性值的元素 |