JoeanAmier/XHS-Downloader

小红书(XiaoHongShu、RedNote)链接提取/作品采集工具

What it solves

XHS-Downloader is a tool designed to extract and download content from the social media platform Xiaohongshu (RedNote). It solves the problem of manually saving posts, images, and videos by providing an automated way to collect work information and download files in bulk.

How it works

The project operates through three primary interfaces:

  1. Standalone Application: A TUI (Terminal User Interface) program that can be run as an executable or via Python/Docker. It can monitor the clipboard for links and download content automatically.
  2. User Scripts: Tampermonkey scripts that run in the browser to extract links from recommendation pages, user profiles, collections, and search results, which can then be pushed to the main program for downloading.
  3. Server Modes: It can be deployed as an API server or an MCP (Model Context Protocol) server, allowing other applications or AI agents to request post details and trigger downloads.

Who it’s for

  • Content Creators and Researchers: Those who need to archive Xiaohongshu posts, images, and videos for analysis or backup.
  • Developers: Users who want to integrate Xiaohongshu data extraction into their own workflows via API or MCP.
  • General Users: People who want a simple way to download high-quality media from the platform without manual effort.

Highlights

  • Comprehensive Extraction: Supports extracting links from published works, collections, likes, albums, and search results.
  • Flexible Downloading: Supports images, videos, and LivePhotos with customizable file naming and formats (PNG, WEBP, JPEG, HEIC).
  • Integration Ready: Offers an API mode and MCP mode for programmatic access.
  • Automation: Features clipboard monitoring and browser script integration for one-click task pushing.
  • Smart Management: Includes a mechanism to skip already downloaded files and the ability to organize files by author into separate folders.

Related

  • Project
  • Project
  • Project
  • Project
  • Project