zhihu-fetcher

Community

Archive Zhihu collections to Markdown & Obsidian

AuthorhandsomestWei
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates collecting Zhihu 收藏夹 and fetching article content, converting it into Markdown with local image storage, and optionally exporting to Obsidian for organized knowledge management.

Core Features & Use Cases

  • 收藏夹列表: API-first retrieval of collection items with a robust fallback to DOM parsing to ensure complete lists.
  • 批量抓取与本地化图片: Batch fetch of articles, convert to Markdown, download images to a local images/ directory, and support progress resume.
  • Cookie 保活与会话持久化: Persist browser cookies and keep sessions alive, with manual re-login when required.
  • Obsidian 集成与智能分类: Write extracted content into Obsidian Vault and auto-classify under知乎收藏.
  • Use Case: A researcher archives hundreds of Zhihu posts into a well-structured Obsidian vault for topic analysis and backlinking.

Quick Start

Fetch a Zhihu collection and export all articles as Markdown with locally saved images, ready for Obsidian.

Dependency Matrix

Required Modules

requestsbeautifulsoup4playwright

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: zhihu-fetcher
Download link: https://github.com/handsomestWei/zhihu-fetch-skill/archive/main.zip#zhihu-fetcher

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.