@fy2ne/wt-youtube
v1.0.0
Published
YouTube automation and engagement plugin for Weavetab. Auto-likes videos, extracts playback metadata, controls playback, and inspects video tabs.
Downloads
100
Maintainers
Readme
YouTube Automation & Engagement Plugin (@fy2ne/wt-youtube)
YouTube automation tool for Weavetab AI agents and autonomous browser sessions.
Features
- Automated Video Like: Detects active YouTube watch pages and triggers instant likes using DOM/CDP automation.
- Video Metadata & Telemetry: Extracts video title, channel name, views count, like status, and duration.
- Playback Control: Toggle play/pause state and seek directly to specific timestamps.
- Zero Configuration: Works out of the box with any active Weavetab browser session.
Installation
You can install this plugin into your Weavetab environment using:
wt plugin add @fy2ne/wt-youtubeOr install directly via npm:
npm install @fy2ne/wt-youtubeTools Exposed
plugin_youtube
Automates YouTube actions on the active browser tab.
Arguments
| Name | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| action | string | Yes | One of: "auto_like", "get_video_info", "toggle_play", "seek". |
| seekSeconds | number | No | Target timestamp in seconds (used with action: "seek"). |
Example Usage
{
"action": "auto_like"
}{
"action": "get_video_info"
}{
"action": "seek",
"seekSeconds": 120
}Security & Permissions
This plugin declares the following sandboxed permissions in weavetab.json:
- Network: Restricts interaction to
youtube.com,*.youtube.com, andgooglevideo.com. - CDP: Requires
evaluateandclickpermissions strictly for YouTube video player and engagement buttons.
License
MIT © fy2ne
