This skill automatically accesses the Douyin homepage through the browser, enters keywords in the search bar and collects relevant keyword suggestions in the automatic prompt box. No API key required, completely browser-based automation.
This skill is triggered when the user mentions any of the following keywords:
Use the browser tool's start or snapshot action to launch the browser.
Navigate to the official website of Douyin:
text
https://www.douyin.com
Use the snapshot action of the browser tool to get a page element reference and check for a login pop-up.
If there is a login pop-up (look for a close button, usually an img or button element), use the act action to click close:
text
browser action=act request={"kind":"click","ref"<关闭按钮引用>:""}
Use the snapshot action of the browser tool to get a page element reference and find the search bar input box (textbox type, description contains 'search').
Using the act action of the browser tool, select the type type and enter your target keyword in the search bar:
text
browser action=act request={"kind":"type","ref":"<搜索栏引用>","text":"<关键词>"}
Wait 1-2 seconds for the auto prompt box to load:
text
browser action=act request={"kind":"wait","timeMs":2000}
Use the snapshot action to get a list of keywords in the prompt box, looking for the keyword text contained in the list or generic element.
Organize the collected keywords into a list format and output them to users.
text
browser action=start profile=openclaw
browser action=navigate targetUrl=https://www.douyin.com
text
browser action=snapshot refs=aria
Look for the close button in the pop-up window (usually the img or button element, near the top-right corner of the pop-up), and click:
text
browser action=act request={"kind":"click","ref"<关闭按钮引用>:""}
text
browser action=act request={"kind":"type","ref":"<搜索栏引用>","text":"<关键词>"}
text
browser action=act request={"kind":"wait","timeMs":2000}
text
browser action=snapshot refs=aria
refs=aria to obtain stable element references to ensure operational accuracy.text
Keywords: [Entered keywords]
Search suggestions:
1. Suggestion 1
2. Suggestion 2
3. Suggestion 3
...