Mindket

MediaCrawler

Newversion 1 · updated
GitHub trending
Star70.7k

Overview

Automated data collection tool that captures post content and comments from major social media platforms like Xiaohongshu, Douyin, and Bilibili. It supports keyword searches, profile scraping, and media downloads using browser automation.

MediaCrawler is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Start with
uv sync
uv run playwright install

About

What it is

MediaCrawler is a tool for collecting public information from social media platforms. It captures data by using a browser instance to maintain your login status, which avoids the need for complex security reversals.

Who it suits

It is for researchers and students who study social media data.

Where to use it

You can run this tool on your local machine using a Python environment or a web interface.

How to set it up

  1. Clone the project.
  2. Install the package manager.
  3. Install dependencies using the package manager.
  4. Enable remote debugging in your Chrome browser settings.
uv sync
uv run playwright install

How to use it

You run the tool from the command line by selecting the platform and the data type.

uv run main.py --platform xhs --lt qrcode --type search

Example

You can collect post information and comments for a specific search keyword. The tool browses the platform with your session, gathers the data, and saves it to your local machine.

For newcomers and experts

If you are new to this, the tool acts as an automated assistant that mimics your actions on a web page to gather what you see. For those experienced with data collection, the tool uses a browser automation framework to keep your session active, which trades direct API access for easier maintenance as platform security evolves.

Good to know

  • Media download is not available for all platforms.
  • The tool interacts with local files, your browser session, and the web.
  • You must provide active consent during the initial login phase.

README and files

README

MediaCrawler

Automated data collection tool that captures post content and comments from major social media platforms like Xiaohongshu, Douyin, and Bilibili. It supports keyword searches, profile scraping, and media downloads using browser automation.

Made by NanmiCoder on GitHub. These notes are Minda's, written from its README; the project's own files and license are in its repository.

About

What it is: MediaCrawler is a tool for collecting public information from social media platforms. It captures data by using a browser instance to maintain your login status, which avoids the need for complex security reversals.

Who it suits: It is for researchers and students who study social media data.

Where to use it: You can run this tool on your local machine using a Python environment or a web interface.

How to set it up:

  1. Clone the project.
  2. Install the package manager.
  3. Install dependencies using the package manager.
  4. Enable remote debugging in your Chrome browser settings.
uv sync
uv run playwright install

How to use it: You run the tool from the command line by selecting the platform and the data type.

uv run main.py --platform xhs --lt qrcode --type search

Example: You can collect post information and comments for a specific search keyword. The tool browses the platform with your session, gathers the data, and saves it to your local machine.

For newcomers and experts: If you are new to this, the tool acts as an automated assistant that mimics your actions on a web page to gather what you see. For those experienced with data collection, the tool uses a browser automation framework to keep your session active, which trades direct API access for easier maintenance as platform security evolves.

Good to know:

  • Media download is not available for all platforms.
  • The tool interacts with local files, your browser session, and the web.
  • You must provide active consent during the initial login phase.

On GitHub, 5 November 2026

  • Stars: 70,198
  • Forks: 13,307
  • Watching: 260
  • Open issues and pull requests: 222
  • Language: Python
  • License: see the repository
  • Trending: #2 repository of the day on GitHub trending (5 November 2026)

Links

Get the code

git clone https://github.com/NanmiCoder/MediaCrawler.git

Then follow the setup in its README. Nothing in this kit runs by itself.

Files
README.md  3 KB

1 file, 3 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-05

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

GitHub Trending8. https://github.com/hugohe3/ppt-master - Python, 589 stars today 9. https://github.com/JCodesMore/ai-website-cloner-template - TypeScript, 750 stars today 10. https://github.com/garrytan/gstack - TypeScript, 674 stars today 11. https://github.com/NanmiCoder/MediaCrawler - Python, 394 stars […]1 like · 1 reply@renyang5201研究爆款还在一条条刷?MediaCrawler 能把小红书、抖音的数据批量扒下来! GitHub 接近 7 万 Star,开源。笔记、视频、评论,连 B 站弹幕都能采集。 做选题、挖评论区需求的,先收藏。 项目链接:https://t.co/Wqy37NQfav https://t.co/2kuqPfSaVkGitHub Trending🚀 Skyrocketing! 🚀 (200+ new stars) 📦 NanmiCoder / MediaCrawler ⭐ 60,729 (+215) 🗒 Python 小红书笔记 | 评论爬虫、抖音视频 | 评论爬虫、快手视频 | 评论爬虫、B 站视频 | 评论爬虫、微博帖子 | 评论爬虫、百度贴吧帖子 | 百度贴吧评论回复爬虫 | 知乎问答文章|评论爬虫1 reply@lin_xiao_xia想看懂全网内容风向?这个开源项目值得收藏 MediaCrawler 可以抓取小红书、抖音、快手、B站、微博、百度贴吧、知乎等平台的公开内容与评论,方便做数据分析、舆情研究和内容趋势观察 项目地址:https://t.co/beWSr3dvbK https://t.co/TNBRTEC85XGitHub Trending📈 Today's GitHub Trending: 1. https://github.com/semantica-agi/semantica - Python, 967 stars today 2. https://github.com/msitarzewski/agency-agents - Shell, 1352 stars today 3. https://github.com/NanmiCoder/MediaCrawler - Python, 215 stars today 4. https://github.com/addyosmani/agent-skills - […]1 reply@AsWill11Top 10 Open Agent Web & Browser Tools: 1. Firecrawl - https://t.co/OYCOZDLcJb 2. Browser Use - https://t.co/qlhT9zukHT 3. Agent-Reach - https://t.co/MI5Lmd1Zs2 4. Scrapling - https://t.co/3sgM5hxe5o 5. Crawl4AI - https://t.co/JAUrQLebA0 6. MediaCrawler - https://t.co/gZtcRQYhxW 7. Agent Browser -…デイリーGitHubトレンド今日のGitHubトレンド NanmiCoder/MediaCrawler 小紅書、抖音、快手、Bilibili、微博、貼吧、知乎などの中国主要SNSプラットフォームから公開情報を収集するためのデータ収集ツールです。 キーワード検索、指定投稿の取得、クリエイターページの収集などの機能を備えています。@denziideng6.8 万 Star 的开源神器,一键抓取小红书、抖音、B 站等 7 个平台的公开数据!🔥 MediaCrawler - 自媒体平台爬虫 🕷️ 一个功能强大的多平台自媒体数据采集工具,支持小红书、抖音、快手、B站、微博、贴吧、知乎等主流平台的公开信息抓取。👇 🔗 https://t.co/uGfxnaO8nV https://t.co/aoNhrwmROQGitHub Trending9. https://github.com/different-ai/openwork - TypeScript, 58 stars today 10. https://github.com/obra/superpowers - Shell, 634 stars today 11. https://github.com/MoonshotAI/FlashKDA - Cuda, 216 stars today 12. https://github.com/NanmiCoder/MediaCrawler - Python, 794 stars today 13 […]@laoanbest🔥开源神器 MediaCrawler|一个工具搞定 7 大平台公开数据 还在挨个平台手动扒素材、整理数据? MediaCrawler 直接一站式搞定 抖音|小红书|B 站|快手|知乎|微博|贴吧 内容调研|竞品分析|行业数据复盘都能用 省去自己写脚本的痛苦,工作效率直接翻倍 https://t.co/XqL64EpPzDデイリーGitHubトレンド今日のGitHubトレンド NanmiCoder/MediaCrawler 中国の主要なSNSプラットフォーム(小紅書、抖音、快手、Bilibili、微博、貼吧、知乎など)から公開情報を収集するための多機能データ収集ツールです。 キーワード検索や指定投稿の取得、コメント収集などの機能を備えています。@lanmeiflying这个爬虫项目不错,值得收藏 https://t.co/2sXpQy3RG7

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k