web-scraper by zephyrwang6/myskill
npx skills add https://github.com/zephyrwang6/myskill --skill web-scraper获取网页内容并转换为简洁的 Markdown 格式。
运行抓取脚本以获取网页内容:
python3 scripts/fetch_url.py <url> [options]
--timeout <seconds>: 请求超时时间(默认值:30)--max-length <chars>: 最大输出长度(默认值:100000)--raw: 输出原始 HTML 而非 Markdown抓取单个 URL:
python3 scripts/fetch_url.py "https://example.com/article"
使用自定义超时时间抓取:
python3 scripts/fetch_url.py "https://example.com/article" --timeout 60
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
并行抓取多个 URL:
for url in "https://url1.com" "https://url2.com"; do
python3 scripts/fetch_url.py "$url" &
done
wait
fetch_url.py脚本将 HTML 转换为简洁的 Markdown:
#、##、### 等-,有序列表用 1.**粗体**、*斜体*403 禁止访问:网站阻止了自动化请求。请考虑:
超时错误:使用 --timeout 60 增加超时时间
内容为空:网站可能需要 JavaScript 来渲染内容
每周安装量
183
代码仓库
GitHub 星标数
104
首次出现
2026年1月24日
安全审计
已安装于
opencode174
codex169
gemini-cli169
cursor165
github-copilot161
kimi-cli154
Fetch web page content and convert to clean markdown format.
Run the fetch script to get web content:
python3 scripts/fetch_url.py <url> [options]
--timeout <seconds>: Request timeout (default: 30)--max-length <chars>: Maximum output length (default: 100000)--raw: Output raw HTML instead of markdownFetch single URL:
python3 scripts/fetch_url.py "https://example.com/article"
Fetch with custom timeout:
python3 scripts/fetch_url.py "https://example.com/article" --timeout 60
Fetch multiple URLs in parallel:
for url in "https://url1.com" "https://url2.com"; do
python3 scripts/fetch_url.py "$url" &
done
wait
fetch_url.py with the URLThe script converts HTML to clean markdown:
#, ##, ###, etc.- for unordered, 1. for ordered**bold**, *italic*403 Forbidden : Website blocks automated requests. Consider:
Timeout errors : Increase timeout with --timeout 60
Empty content : Website may require JavaScript to render content
Weekly Installs
183
Repository
GitHub Stars
104
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode174
codex169
gemini-cli169
cursor165
github-copilot161
kimi-cli154
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
31,600 周安装