toutiao-news-trends

Original🇨🇳 Chinese
Translated
1 scriptsChecked / no sensitive code detected

Fetch news hot list/trending search data from Toutiao (www.toutiao.com), covering popular Chinese news across multiple fields such as current affairs, finance, social events, international news, technological development, and entertainment gossip, and output hot topic titles, popularity values, and jump links.

20installs
Added on

NPX Install

npx skill4agent add wuchubuzai2018/expert-skills-hub toutiao-news-trends

Tags

Translated version includes tags in frontmatter

SKILL.md Content (Chinese)

View Translation Comparison →

Toutiao News Hot List

Skill Overview

This skill is used to crawl hot list (hot-board) data from the PC version of Toutiao, including:
  • Hot topic titles
  • Popularity value (HotValue)
  • Detail jump links (redundant query parameters removed for easy sharing)
  • Cover images (if available)
  • Labels (such as "Hot Events", etc.)
Data source: Toutiao (www.toutiao.com)

Get Hot List

Get the hot list (default 50 items, returned in list order):
bash
node scripts/toutiao.js hot
Get the top N items of the hot list:
bash
node scripts/toutiao.js hot 10

Return Data Field Description

FieldTypeDescription
ranknumberList ranking (starts from 1)
titlestringHot topic title
popularitynumberPopularity value (HotValue, converted to number; 0 if parsing fails)
linkstringHot topic detail link (query/hash cleaned)
coverstring | nullCover image URL (if available)
labelstring | nullLabel/identifier (if available)
clusterIdstringAggregation ID (stringified)
categoriesstring[]Interest categories (if available)

Notes

  • This is a public web-side interface, and the return structure may change; proper fault tolerance is required if fields are missing
  • Frequent access may trigger risk control; the script has built-in random User-Agent and timeout control

Author Introduction

  • Everywhere Who Loves One Piece
  • My WeChat official account: Ubiquitous Technology