Automation and scraping · Independent · 24 Oct 2026

NanmiCoder/MediaCrawler

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

← Automation and scraping

In simple English

This program pulls posts, comments, and user profiles from popular social media sites. It saves the data into files or databases so you can read it later. It uses a real web browser to log in, which helps avoid blocks. You need some technical skill to run a Python script and install software. The project is free to use on your own computer.

What it is

A Python program that controls a browser using Playwright (a tool that lets code drive a web browser automatically) to collect public posts and comments from multiple social media platforms. It saves you from writing custom scrapers for each different website.

What it is good for

Solo builders who need to collect public feedback, research competitors, or gather text data from social media platforms for market research.

Stars68k
LicenceCustom
LatestNo tagged releasechecked 24 Oct 2026
Last code change2026-10-15
Written inPython
Setup effort
3 / 5
Payoff
4 / 5
Good
  • Supports many popular platforms in one tool.
  • Reuses your existing browser session to avoid login blocks.
  • Saves scraped data directly to CSV, JSON, Excel, or databases.
Watch for
  • Requires Python, Node.js, and command-line setup.
  • Social media platforms frequently change their layouts and break scrapers.
  • Scraping platforms may violate their terms of service and get your accounts banned.
Replaces

Writing custom web scraping scripts for every social media site

Works well with

Playwright (a tool that lets code drive a web browser automatically)

Similar repositories
  • scrapy/scrapy65k stars

    A fast framework for general web crawling and scraping, though it lacks built-in browser login helpers for social media.

Also reviewed on Repo Radar
  • apache/airflow47k stars

    Runs chains of scheduled jobs written in Python, and keeps a record of every run.

  • cybertec-postgresql/pg_timetable1.4k stars

    A job scheduler for PostgreSQL whose jobs and schedules live in the database itself.

  • scrapy/scrapy65k stars

    A Python framework for fetching and parsing large numbers of web pages.

Install
cd MediaCrawler
uv sync
uv run main.py --platform xhs --lt qrcode --type search

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Marketing & Growth › Social Media Marketing › Social Listening.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.