socials_get_page_content
Scrape structured data from YouTube search results and watch pages, including video metadata and comments, with options to sort comments and expand descriptions.
Instructions
Get structured content from the pinned agent tab. YouTube search results (/results?search_query=…) return video cards with auto-scroll. YouTube watch pages (/watch?v=…) return structured video metadata (title/channel/views/likes/description) plus comments, and can optionally switch comment sort (top/newest) before scraping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max cards/posts (1–80). Default 40 on YouTube search, 5 elsewhere. | |
| tab_id | No | Optional Chrome tab ID; default is pinned agent tab. | |
| comment_sort | No | YouTube watch pages only. Apply comment sort before reading comments. | |
| comments_limit | No | YouTube watch pages only. Max comments to collect (1–120, default 20). | |
| expand_description | No | YouTube watch pages only. Expand description before extraction (default true). |