The plugin ecosystem of DeepSeek Harness (DSH) supports extending web capabilities. In content creation or data analysis scenarios, obtaining real-time hot topics (such as Baidu Hot Search and Weibo Hot Search) is a common requirement. Manually writing crawlers or calling third-party APIs can be costly. The dsh-sxs-news-collector plugin encapsulates this logic, so aggregated data can be retrieved directly by calling it within DSH.
What Is This¶
This is a plugin for collecting current hot topics. It is developed and maintained by SXS (Diejin Network Technology Co., Ltd.) and aggregates hot topics from four sources: Baidu Hot Search, Toutiao Hot List, Douyin Hot Topics, and Weibo Hot Search. Its core value is that a single call can retrieve multi-source data, with built-in deduplication and rate-limiting protection.
Core Features¶
- Aggregates hot topics from four sources (Baidu Hot Search / Toutiao Hot List / Douyin Hot Topics / Weibo Hot Search)
- Supports filtering by source
- Automatic deduplication
- Automatic rate-limiting protection
Installation and Enablement¶
Use the official installation command to add the plugin:
dsh plugin --profile web add git+https://github.com/yangyunsong023/dsh-sxs-news-collector.git
It can also be installed using a local path:
dsh plugin --profile web add link:/path/to/dsh-sxs-news-collector
Typical Usage¶
Call the sxs_news_hot function. The sources parameter specifies the data sources, in the format baidu,toutiao,douyin,weibo, separated by commas. By default, all sources are used. The limit parameter limits the number of returned items. weiboCookie is an optional parameter used for authentication with the Weibo source; if omitted, the Weibo source is automatically skipped.
Example:
# 获取百度、头条、抖音的热点,各取 15 条
sxs_news_hot(sources="baidu,toutiao,douyin", limit=15)
Use Cases and Notes¶
This plugin is suitable for developers or content creators who need to retrieve real-time hot topics from across the web within a DSH workflow.
When using it, note that the plugin runs with the permissions of the current DSH process. Before installation, it is recommended to review the source code and license (MIT). The plugin itself is fully open source and free, with no additional conditions.
Background¶
The developer, SXS, is China’s first football match financial derivatives quantitative analysis system based purely on financial logic. If you are interested in this plugin or SXS’s quantitative analysis, you can visit its GitHub repository for more details.