Real-time China Trending Data Collector
Paste the following prompt into your AI chat to install this skill:
Please install @user_8b0d9d84/hot by following https://skillhub.cn/install/skillhub.md.
About this skill
The Problem to Solve
When building data analysis applications, sentiment monitoring systems, or content recommendation engines, developers often face a core challenge: how to efficiently and stably acquire real-time trending data from various Chinese internet platforms. Manually visiting platforms like Weibo, Douyin, or Bilibili and parsing their pages is not only time-consuming but also prone to failure due to frequent page structure changes or anti-scraping measures. You need a structured data source to directly integrate these trending metrics (like keywords and hot values) into downstream analysis pipelines.
How the Skill Works
This skill provides a set of Node.js scripts for real-time data scraping from specified platforms. Its core capabilities include:
- Multi-faceted Data Collection: Covers four major categories of data sources.
crawl-hot.js: Scrapes real-time hot search rankings from platforms such as Douyin, Weibo, Baidu, Bilibili, and Kuaishou.crawl-music.js: Fetches hot and rising song charts from QQ Music, NetEase Cloud Music, etc.crawl-entertainment.js: Collects Maoyan movie box office, TV show ratings, and App Store app/game rankings.crawl-paper.js: Retrieves PDF download links and high-resolution images for People's Daily e-paper editions.- Unified Output Format: All scripts output structured JSON with clearly defined fields, such as
word(keyword) andhot_value(hot value) for hot searches, orname(song title) andgeshou(singer) for music. This eliminates the need for consumers to parse messy HTML. - Flexible Parameterized Invocation: Precisely control scraped content via command-line parameters. For example:
- Specify platform:
node scripts/crawl-hot.js --platform=weibo - Specify type:
node scripts/crawl-entertainment.js --type=movie - Specify date:
node scripts/crawl-paper.js --date=2025-03-20
The key workflow involves choosing the corresponding script and parameter combination based on user intent (e.g., “show me today's Weibo hot searches”) within the skill's installation directory, executing the node command, and parsing the returned JSON object to obtain the desired data.
Applicable Boundaries & Considerations
Please note the following technical details before use:
- Runtime Environment: Node.js 18+ must be installed, as the scripts rely on the built-in
fetchAPI. - Data Real-time & Stability: Data is scraped directly from upstream platforms, with a typical response time of 1-3 seconds. The Kuaishou platform's hot search API may be unstable at times, occasionally returning empty data.
- Working Directory: Scripts should be executed with the current working directory set to the skill's root directory to ensure relative path references within scripts resolve correctly.
- No API Keys Required: All scraping functionalities work out-of-the-box without any API Key or secret configuration.
- Output Handling: The returned JSON contains fields ready for immediate use (e.g.,
image_urlfor newspaper pages), which can be directly used for Markdown image rendering or further data analysis.
Use Cases
- When a product manager needs to assess market reaction after a new feature launch, run the `crawl-hot.js` script to fetch real-time hot search data from Douyin and Weibo, analyzing user discussion focal points to inform iteration with data support.
- Before negotiating music copyright purchases, the acquisition team uses `crawl-music.js` to collect hot song charts from QQ Music and NetEase Cloud, quantifying song popularity to assist in judging copyright value and market demand.
- A film investment analyst uses `crawl-entertainment.js --type=movie` to obtain real-time Maoyan box office and scheduling data, creating competitive analysis reports to evaluate investment risks.
- To compare media agenda-setting, a journalism researcher uses `crawl-paper.js --date=2025-03-20` to retrieve high-resolution page images from *People's Daily* for a specific date, conducting content analysis and archiving.
Best For
- Sentiment analyst: Needs to monitor hot events across multiple platforms daily, uses the skill to batch-scrape hot search data, generating briefings and providing early warnings for negative information.
- Social media content planner: Responsible for creating viral topics, relies on the skill to fetch real-time popular charts from platforms like Bilibili and Kuaishou to quickly lock in creative inspiration and angles.
- Entertainment data specialist: Regularly collects movie box office, TV ratings, and game rankings, using the skill to integrate multi-source data and update the company's internal database.
- Digital archivist: Needs to systematically archive e-paper versions of major Chinese newspapers, using the skill to batch-retrieve *People's Daily* historical page PDF links and images for building a searchable news repository.
Related Skills
A universal base component that automatically launches the Edge browser and connects the BrowserSkill extension, ensuring readiness for web scraping and browser automation tasks.
A fully local-run WeChat chat analysis tool with MBTI personality inference, sentiment analysis, risk detection, relationship health assessment, and conversation prediction, emphasizing privacy.
Fetches the top 20 A-share stocks by trading volume from Wencai, including ranking, price changes, and sectors, with sector analysis.
Performs project discrimination, classification, and structured extraction on bidding documents, outputting standardized data with support for manual review.