AI Agent Hub
Back to skills
Douyin Hot Video Data Scraper icon

Douyin Hot Video Data Scraper

Data Analysis Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_ad45f167/douyin-selenium-scraper-skill according to https://skillhub.cn/install/skillhub.md.

About this skill

What Problem It Solves

Many analytics and content-ops workflows need fast access to Douyin hot videos, e-commerce promotions, and real-time Baidu trends, but these pages are often SPAs with dynamic rendering and messy author fields. Direct HTTP requests to Chanmama ranking pages can return only an empty shell. Manual copying or ad hoc scripts often miss details such as iesdouyin link conversion, follower-count cleanup, and category tagging. This skill turns scraping, cleaning, and reporting into a reusable pipeline for TOP 10 data.

How It Works

  • Data capture: Uses Selenium to render Chanmama’s hot video and e-commerce promotion rankings, extracting title, creator, likes, comments, and plays from DOM tables. For Baidu real-time trends, it parses embedded JSON from server-rendered HTML with regex for word and hotScore.
  • Data cleaning: Converts hidden share links into canonical douyin.com/video/{ID} URLs and removes noisy follower counts and timestamps from creator names using regex cleanup.
  • Classification and output: Labels videos into 18 content categories or e-commerce products into 7 product categories, then generates a four-section text report and timestamped CSV files to reduce file locking conflicts.

Boundaries and Caveats

It is better suited for lightweight trend snapshots than large-scale collection. Chanmama is an SPA, so DOM or URL changes can break selectors; Baidu’s embedded JSON structure may also change. Frequent access can trigger anti-bot challenges, so request frequency should be controlled. The runtime depends on Python, Chrome, and a matching ChromeDriver, and headless mode may render blank on some systems, where headed debugging can help.

Use Cases

  • Douyin hot TOP 10 title, creator, plays to CSV for standup.
  • Promotion TOP 10 product, creator, likes to CSV for sourcing.
  • Baidu TOP 10 hot words and scores against Douyin videos.
  • Weekly report needs videos, trends, e-commerce to TXT.

Best For

  • Short-video content operators who need daily Douyin hot TOP 10 titles, categories, and links.
  • Douyin e-commerce analysts who need promotion TOP 10 products, creators, and engagement.
  • Public-opinion engineers who need Baidu TOP 10 keywords and hot scores to track trends.
  • Weekly-report writers who need four-section TXT reports and CSV files for archiving.