Skip to content
Back to search

url-reader

智能网页内容读取器 - Claude Code Skill,支持微信公众号、小红书、今日头条等中国主流平台

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/yhslgg-arch--url-reader/badge.svg)](/listings/yhslgg-arch--url-reader)

HTML

<a href="/listings/yhslgg-arch--url-reader"><img src="/api/listings/yhslgg-arch--url-reader/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

cd ~/.claude/skills/url-reader
python3 -m venv .venv
source .venv/bin/activate

# 核心依赖
pip install firecrawl-py requests

# Playwright(可选,用于需要登录的平台)
pip install playwright
playwright install chromium

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 110 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # URL Reader - 智能网页内容读取器
  2. 一键读取任意URL的内容,自动识别平台类型,智能选择最佳读取策略,自动保存内容和图片到本地。
  3. ## 功能特点
  4. - 🔍 **智能平台识别**:自动识别微信公众号、小红书、今日头条、抖音、淘宝、天猫、京东、百度、知乎、微博、B站等平台
  5. - 🔄 **三层读取策略**:Firecrawl → Jina → Playwright 自动降级
  6. - 📝 **Markdown输出**:干净的Markdown格式输出
  7. - 💾 **自动保存**:自动保存内容和图片到本地
  8. ## 技术架构
  9. ```
  10. 用户输入 URL
  11. ↓
  12. ┌─────────────┐
  13. │ 平台识别器 │ → 识别URL所属平台
  14. └─────────────┘
  15. ↓
  16. ┌─────────────────────────────────────┐
  17. │ 策略选择器 │
  18. │ Firecrawl → Jina → Playwright │
  19. │ (首选) (备选) (兜底) │
  20. └─────────────────────────────────────┘
  21. ↓
  22. ┌─────────────┐
  23. │ 内容提取器 │ → 提取标题、正文、作者等
  24. └─────────────┘
  25. ↓
  26. ┌─────────────┐
  27. │ 格式化输出 │ → Markdown 格式
  28. └─────────────┘
  29. ```
  30. ## 安装
  31. ```bash
  32. cd ~/.claude/skills/url-reader
  33. python3 -m venv .venv
  34. source .venv/bin/activate
  35. # 核心依赖
  36. pip install firecrawl-py requests
  37. # Playwright(可选,用于需要登录的平台)
  38. pip install playwright
  39. playwright install chromium
  40. ```
  41. ## 配置
  42. ### Firecrawl API Key
  43. 1. 访问 https://www.firecrawl.dev/ 注册账号
  44. 2. 获取 API Key
  45. 3. 配置环境变量:
  46. ```bash
  47. export FIRECRAWL_API_KEY="fc-YOUR_API_KEY"
  48. ```
  49. ## 使用方式
  50. ### Claude Code 中使用
  51. ```
  52. 用户:帮我读取这个链接 https://mp.weixin.qq.com/s/xxxxx
  53. 用户:看看这个小红书 https://www.xiaohongshu.com/explore/xxxxx
  54. ```
  55. ### 命令行调用
  56. ```bash
  57. /url-reader https://example.com/article
  58. ```
  59. ## 支持的平台
  60. | 平台 | 域名 | 推荐策略 |
  61. |------|------|----------|
  62. | 微信公众号 | mp.weixin.qq.com | Firecrawl → Playwright |
  63. | 小红书 | xiaohongshu.com | Firecrawl → Jina |
  64. | 今日头条 | toutiao.com | Firecrawl → Jina |
  65. | 抖音 | douyin.com | Firecrawl |
  66. | 淘宝 | taobao.com | Firecrawl → Playwright |
  67. | 天猫 | tmall.com | Firecrawl → Playwright |
  68. | 京东 | jd.com | Firecrawl → Jina |
  69. | 百度 | baidu.com | Firecrawl → Jina |
  70. | 知乎 | zhihu.com | Firecrawl → Jina |
  71. | 微博 | weibo.com | Firecrawl → Playwright |
  72. | B站 | bilibili.com | Firecrawl → Jina |
  73. | 通用网站 | * | Firecrawl → Jina |
  74. ## 目录结构
  75. ```
  76. url-reader/
  77. ├── skill.md # Skill文档
  78. ├── metadata.json # 元数据
  79. ├── scripts/
  80. │ ├── url_reader.py # 主读取器
  81. │ ├── url_identifier.py # URL平台识别器
  82. │ ├── save_content.py # 内容保存
  83. │ └── wechat_reader.py # 微信读取器
  84. └── data/ # 数据目录(不上传)
  85. ```
  86. ## License
  87. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.