Install
openclaw skills install @openlark/jinritoutiao-keyword-collectorAutomatically accesses the Jinri Toutiao homepage via browser automation, inputs keywords into the search bar, and collects related keyword suggestions from the auto-suggest dropdown.
openclaw skills install @openlark/jinritoutiao-keyword-collectorThis 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 this skill when the user mentions any of the following keywords:
Use the browser tool to launch the browser:
action: start
profile: openclaw
Navigate to Jinri Toutiao:
action: navigate
targetUrl: https://www.toutiao.com
Wait for the page to fully load.
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").
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.
After input is complete, wait 1-2 seconds for the auto-suggest dropdown to load:
action: act
kind: wait
timeMs: 2000
Take another page snapshot, this time capturing the keyword list in the auto-suggest dropdown:
action: snapshot
refs: aria
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.
Keyword: [Input Keyword]
Search Suggestions:
1. Suggestion 1
2. Suggestion 2
3. Suggestion 3
...
If the user has no further requests, close the browser:
action: close
refs: aria provides more stable element referencesslowly: true ensures the page can properly trigger auto-suggestTo collect suggestions for multiple keywords:
act with kind: type to clear the search box before entering a new keyworddepth parameter)slowly: true)timeMs: 3000 or longer)references/browser-automation-best-practices.mdreferences/toutiao-structure.md