360 Secure SkillHub
360 安全技能中心

Jinritoutiao Keyword Collector

核心功能:通过浏览器自动化模拟用户操作,在今日头条搜索框输入关键词,自动采集搜索下拉的相关关键词建议,支持批量收集。典型场景涵盖SEO优化、内容创作、热点发掘、竞品分析、市场调研等。输入为单个或多个关键词,输出为结构化的搜索建议列表,用户提及相关触发词即可启动。

openlark
openlark
热度 48.08
最近更新 2026-05-11 17:34:51
分类:自动化依赖:联网浏览搜索应用场景:市场分析 / 数据处理 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add jinritoutiao-keyword-collector
Metadata
name
jinritoutiao-keyword-collector
description
Automatically accesses the Jinri Toutiao homepage via browser automation, inputs keywords into the search bar, and collects related keyword suggestions from the auto-suggest dropdown.

Jinri Toutiao Keyword Collector

Feature Overview

This skill uses browser automation to access Jinri Toutiao (www.toutiao.com), simulates user behavior of entering keywords in the search box, and automatically collects the relevant keyword suggestions displayed in the search dropdown.

Trigger Conditions

Trigger this skill when the user mentions any of the following keywords:

  • 今日头条关键词
  • 收集头条关键词
  • 头条搜索建议
  • 头条热门词
  • 头条 SEO
  • 头条话题
  • Jinri Toutiao keywords
  • Collect Toutiao keywords
  • Toutiao search suggestions
  • Toutiao trending keywords
  • Toutiao SEO
  • Toutiao topics

Use Cases

  • SEO keyword research and optimization
  • Content creation inspiration gathering
  • Trending topic discovery
  • Competitor keyword analysis
  • Market research and trend analysis

Operation Workflow

1. Launch Browser

Use the browser tool to launch the browser:

action: start
profile: openclaw

2. Access Jinri Toutiao Homepage

Navigate to Jinri Toutiao:

action: navigate
targetUrl: https://www.toutiao.com

Wait for the page to fully load.

3. Get Page Snapshot

Use snapshot to get the page element structure and locate the search box:

action: snapshot
refs: aria

Search for the search box element in the snapshot results (typically an input element containing keywords like "search").

4. Input Keywords

Use the act tool to input keywords into the search box:

action: act
ref: <ref value of the search box>
kind: type
text: <user-provided keyword>
slowly: true

Set slowly: true to ensure the page can properly trigger the auto-suggest functionality.

5. Wait for Suggestion Dropdown

After input is complete, wait 1-2 seconds for the auto-suggest dropdown to load:

action: act
kind: wait
timeMs: 2000

6. Get Dropdown Snapshot

Take another page snapshot, this time capturing the keyword list in the auto-suggest dropdown:

action: snapshot
refs: aria

7. Extract Keywords

Extract all keyword text from the snapshot results within the suggestion dropdown. The dropdown typically contains multiple option, li, or div elements, each containing a suggested keyword.

8. Output Format

Keyword: [Input Keyword]
Search Suggestions:
1. Suggestion 1
2. Suggestion 2
3. Suggestion 3
...

9. Cleanup (Optional)

If the user has no further requests, close the browser:

action: close

Important Notes

  1. Network Latency: Jinri Toutiao page loading may take time; ensure sufficient waiting time before operations
  2. Element Locating: Using refs: aria provides more stable element references
  3. Input Speed: Setting slowly: true ensures the page can properly trigger auto-suggest
  4. Anti-scraping Mechanisms: Avoid frequent requests in a short period; it is recommended to wait 5-10 seconds between multiple collections
  5. Session Persistence: For multiple collections, keep the browser session open to improve efficiency

Batch Collection for Multiple Keywords

To collect suggestions for multiple keywords:

  1. Keep the browser session open
  2. Repeat steps 4-7 for each keyword
  3. Use act with kind: type to clear the search box before entering a new keyword
  4. Compile all results into a summary report

Troubleshooting

Search Box Not Found

  • Check if the page has fully loaded
  • Try refreshing the page and retrying
  • Use a more detailed snapshot (add the depth parameter)

Suggestion Dropdown Does Not Appear

  • Ensure input speed is slow enough (slowly: true)
  • Increase wait time (timeMs: 3000 or longer)
  • Check if the network connection is normal

Keyword List is Empty

  • Verify the input keyword is valid
  • Try testing with common keywords
  • Check if Jinri Toutiao has updated its page structure

Reference Resources

  • Browser Automation Best Practices: See references/browser-automation-best-practices.md
  • Jinri Toutiao Page Structure Description: See references/toutiao-structure.md