← Back to home
Skill

在线文档本地化

tencent_skillhub · 1.8.4 · Downloads 566 · Heat 47.5

Introduction

将以下在线资源转成本地Markdown文档和静态HTML 1. 通用网页 / 文档 / API 参考 / 博客 引擎 convert.py:仅依赖 Python 标准库;若环境装了 trafilatura,正文抽取质量更佳。 支持 stdin 管道模式(已有正文时直接喂,不重复抓取)。 2. 飞书(Feishu) feishu_fetch.py:云文档 → 单篇 / 整空间批量 Markdown(经 lark-cli 连接器)。 feishu_img_localize.py:飞书图片本地化(抽 file_token 下载到 assets/,配 build 内嵌)。 wiki_export.py:整飞书 wiki 空间递归导出为带导航的静态 HTML 合集,可断点续跑。 3. PDF pdf_to_md.py:本地文本型 PDF → 结构化 Markdown(PyMuPDF 字号分层)。 geektime_pdf.py:极客时间/微伴等 JS 渲染 PDF 预览页 → 真实 PDF 逆向下载。 4. 小红书 xiaohongshu_fetch.py:笔记 → Markdown。SSR 解析 __INITIAL_STATE__ 优先,登录墙/空内容回退 Playwright;支持 OCR 识图。 5. 在线视频(抖音/B站等反爬站点) video_to_md.py:Playwright 拿直链 + 导出 cookie → 下载 → ffmpeg 抽音频 → faster-whisper 转写 → opencc 繁转简 → 按章节分组 MD,产出「观点/论述/建议」三段式总结。 6. X(Twitter)长文 x_to_md.py:经 browser-skill 渲染文章 DOM,剔除评论/引用卡,图片真实落地(唯一需联网+浏览器的环节)。 x_md_to_html.py:MD → 自包含离线 HTML(article-magazine 风格,图片 base64 内嵌,纯本地零联网,可反复重跑)。 7. 合集生成 build_static_html.py:多篇 Markdown → 类飞书风格静态 HTML 合集(带分章导航),--embed-images 可把图片 base64 内嵌。

Resource Information

Author:user_3aa1c1ff
Category:Rag Knowledge
Version:1.8.4
Auth: No auth
Pricing: Not specified

License information is collected from official sources and may be outdated or missing. Refer to the LICENSE file in the original repository before commercial use.

Tags
知识归档

Information boundary

Information on this page is collected from official documents for technical presentation only and does not imply our endorsement. Pricing, quotas and availability are subject to the latest official statements. We make no commitment regarding any action you take after leaving this site.

Similar skills

ima-skills

API key required

ima skills,支持对笔记、知识库的读取、写入和检索等操作,可以帮你随时记录,收入ima智能管理,随时调用,龙虾输出精准懂你,友好的接入了OpenClaw生态,构建你的第二大脑。

多引擎搜索

FreemiumAPI key required

提供16个搜索引擎(7国内直连+9国际)跨引擎检索、自动去重与多源交叉验证,无需API Key,附零依赖脚本

web-tools-guide

API key required

MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_search failure → must guide user to configure API), fallback chain (opencli CLI covers 70+ sites as structured fallback before browser), and site-specific login URLs. Without reading this skill, you WILL handle failures incorrectly and miss available tools. Trigger on: 搜索/上网/查资料/打开网站/抓取网页/新闻/热点/web search/fetch/browser/opencli.

腾讯新闻

Marked paidAPI key required

腾讯新闻综合信息服务工具,支持新闻搜索与热榜/早晚报/订阅引导、腾讯较真事实查证、全国市县天气与天气预警查询、体育赛事的赛程比分查询,以及中国普通高考常规批次的一分一段、省控线、院校专业录取数据和院校优先/专业优先冲稳保志愿方案。当用户需要新闻资讯、判断信息真假、查询天气或异常天气、查询某项赛事或某支球队最近的比赛、了解高考录取数据或规划志愿时使用。

全球12亿文献知识库(8千万中文期刊可下载)

FreemiumAPI key required

全球12亿文献知识库(8千万中文期刊可下载)——通过 SmartLib 开放平台 API 提供中外文学术文献检索与下载能力,覆盖 8000 万篇授权中文期刊全文 + 12.28 亿条全球文献元数据(期刊 7.19 亿 / 专利 2.15 亿 / 会议 7155 万 / 学位论文 2473 万 / 标准 268 万)。 能力:中英文关键词检索、文献详情、中文期刊 PDF 全文下载、外文 OA 文献十级渠道免费下载(不消耗配额)、智能关键词扩展、核心期刊优先排序、相关性重排、引文追溯、分类号检索。 配额:首次使用自动注册,免费 100 次检索 + 10 次下载 / 月;耗尽自动弹出套餐(体验卡 / 个人版月 / 专业版月 / 单篇下载 / 下载包),可说「升级 / 充值」唤起;企业 / 机构定制联系 vipsmart@vipslib.com。 触发:用户表达"查论文""找文献""检索学术""搜期刊""查专利""找标准""下论文""写文献综述""找参考文献""查 SCI/EI"等意图时启用;也适用"帮我找关于 XX 的论文""写文献综述""找几篇引用支撑论点"。英文:"find papers" "search literature" "write literature review" "find supporting citations"。 调用前必须先用 /consume 获取 consume_token,再凭 token 调 /search(每次计费接口调用都需一次 /consume)。

Aihot Skill Lite

Marked freeAPI key required

AI HOT(aihot.virxact.com)中文 AI 资讯查询 Skill,帮助用户获取今日 AI 圈动态、AI 日报、AI 热点、最新 AI 资讯以及 OpenAI、Anthropic、Google 等公司的最新发布信息。

What is a Skill

A Skill is a packaged single capability, such as text recognition, document summarization, or keyword extraction. Developers wrap the calling logic and prompts into a plugin-like unit, so users can load it without understanding the underlying model. StackPilot indexes a large number of skills that can be tried instantly or assembled into a plan.