71.3K ·GitHub
What is this?
A multi-platform crawler for Chinese social media: it collects keyword search results, specific posts, and their comments from Xiaohongshu, Douyin, Kuaishou, Bilibili, Weibo, Tieba, and Zhihu.
Do I have to live in the terminal, or is there a UI?
Both work: run it from the command line, or drive it through the built-in WebUI to configure a crawl, watch live status and logs, and preview or export data.
What does a first run look like?
After installing the dependencies, the default CDP mode needs Chrome 144+ with remote debugging enabled at chrome://inspect/#remote-debugging; the crawler then drives your logged-in browser.
What do I need on my machine before installing?
uv for the Python packages, plus Node.js 16 or newer — Node is a hard requirement for crawling Douyin and Zhihu. A browser driver is only needed if you switch off CDP mode for standard Playwright.
Am I allowed to use the data however I want?
No. The disclaimer scopes it to learning and research: commercial use is banned, as is large-scale crawling of the platforms or any other illegal use.
Will it run on my Windows PC, or is this a Mac/Linux thing?
It is plain Python plus Node and Chrome, so Windows, macOS and Linux all work; everything runs on your own machine, with results saved locally.
How does it grab request signatures without reverse-engineering each platform?
It logs in through a real browser driven by Playwright, then reads the needed signature parameters via JS expressions inside that logged-in context, so the platforms' encryption never has to be cracked.
Which crawl features work on all seven platforms?
Keyword search, crawling by post ID, second-level comments, a chosen creator's homepage, cached login state, an IP proxy pool, and generating a word cloud from comments are supported on every platform.
What formats can the scraped data be saved in?
Locally, in whichever storage you configure: CSV, JSON, JSONL, Excel, SQLite, or a MySQL database.
What is MediaCrawlerPro?
A paid subscription sibling by the same author: it adds resumable crawling, multi-account runs, removal of the Playwright dependency, full Linux support, a desktop video downloader, and a refactored architecture the author says is worth studying.
What are similar projects?
creatorhub, catbus, social-auto-upload, saas-growth-agents, Douyin_TikTok_Download_API, Agent-Reach, scraping-apis-for-devs, crawlee
Which topics is it in?
rednote, weibo, kuaishou, data-collection, data-mining, web-crawler, douyin, xiaohongshu, data-extraction, bilibili, scraper, scraping



