NanmiCoder/MediaCrawler

小红书笔记 | 评论爬虫、抖音视频 | 评论爬虫、快手视频 | 评论爬虫、B 站视频 | 评论爬虫、微博帖子 | 评论爬虫、百度贴吧帖子 | 百度贴吧评论回复爬虫 | 知乎问答文章|评论爬虫

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 36 minutes ago
Added to GitGenius on June 30th, 2026
Created on June 9th, 2023
Open Issues & Pull Requests: 191 (+0)
Number of forks: 12,174
Total Stargazers: 62,477 (+0)
Total Subscribers: 248 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 9.6 hours
Mean response time: 8.4 days
90th percentile: 14.2 days
Tracked items: 378

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "bug" is answered fastest, typically in about 4 hours, while "风控问题不处理" waits about 4 days. 70% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 9% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 159
New in 7 days: 3
Closed in 7 days: 1
Avg open age: 340 days
Stale 30+ days: 147
Stale 90+ days: 137

Recent activity

Opened in 7 days: 2
Closed in 7 days: 1
Comments in 7 days: 1
Events in 7 days: 4

Top labels

  • question (142)
  • bug (116)
  • enhancement (18)
  • 风控问题不处理 (12)
  • 待确认 (9)
  • invalid (2)
  • help wanted (1)
  • wontfix (1)

Detailed Description

MediaCrawler is a Python-based web scraping tool designed for extracting public data from major Chinese social media and content platforms. The repository supports crawling from Xiaohongshu (Little Red Book), Douyin (TikTok), Kuaishou, Bilibili, Weibo, Baidu Tieba, and Zhihu. According to the repository's feature matrix, all seven platforms support keyword search, specified post ID extraction, secondary comments, creator homepage access, login state caching, IP proxy pools, and comment word cloud generation.

The technical foundation relies on Playwright browser automation framework combined with login state preservation, eliminating the need for JavaScript reverse engineering. The approach leverages saved browser contexts to obtain signature parameters through JavaScript expressions, significantly reducing technical complexity compared to traditional methods that require decrypting complex algorithms. The project offers both a command-line interface and a web-based UI for visual operation, with the WebUI providing real-time status monitoring, log viewing, and data export capabilities.

Data persistence is handled through multiple storage formats including CSV, JSON, JSONL, Excel, SQLite, and MySQL databases. The project includes a WebUI built with Vite that can run in development mode or be compiled for production deployment. The default configuration uses Chrome DevTools Protocol (CDP) mode to connect to existing Chrome browser instances, preserving login states, cookies, and extensions to reduce platform detection risks. Users can optionally switch to standard Playwright mode through configuration settings.

The most active labels are question (136 items), bug (109 items), and enhancement (14 items).

The project emphasizes educational use with explicit disclaimers against commercial application or illegal activity. A premium version called MediaCrawlerPro is available separately, offering features like breakpoint resume functionality, multi-account support, improved architecture design, desktop video downloader, homepage feed recommendations, and AI Agent skill integration for platforms like OpenClaw and Claude Code. The repository includes comprehensive setup documentation covering uv package manager installation, Node.js requirements (version 16.0.0 or higher), Chrome browser configuration with remote debugging enabled, and environment variable setup. Community engagement is facilitated through WeChat groups and Bilibili channel presence.