返回顶部
j

jinritoutiao-keyword-collector

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
134
下载量
0
收藏
概述
安装方式
版本历史

jinritoutiao-keyword-collector

# 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`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 jinritoutiao-keyword-collector-1776109042 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 jinritoutiao-keyword-collector-1776109042 技能

通过命令行安装

skillhub install jinritoutiao-keyword-collector-1776109042

下载 Zip 包

⬇ 下载 jinritoutiao-keyword-collector v1.0.2

文件大小: 4.75 KB | 发布时间: 2026-4-14 13:56

v1.0.2 最新 2026-4-14 13:56
No functional changes; streamlined documentation and improved clarity.

- Updated wording to use "Jinri Toutiao" throughout for consistency.
- Improved formatting and conciseness in usage instructions.
- Clarified trigger keywords and output format.
- Enhanced language for important notes and troubleshooting.
- No changes were made to the skill’s behavior or code.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部