@@ -2047,6 +2047,18 @@ def web_scrape_md(
20472047 responses from a recognized API key; use error_code to distinguish stable
20482048 failure categories.
20492049
2050+ ### YouTube
2051+
2052+ YouTube URLs return the video or channel itself rather than the surrounding
2053+ player and navigation chrome. A URL addressing a single video (`/watch`,
2054+ `youtu.be`, `/shorts`, `/embed`, `/live`) returns its title, channel, duration,
2055+ view count, keywords, full description, and the transcript when the video has
2056+ captions that can be retrieved; videos without captions return everything except
2057+ the transcript. A channel URL (`/channel/UC…`, `/@handle`, `/c/…`, `/user/…`)
2058+ returns its name, handle, subscriber count, video count, and full description.
2059+ When `includeImages=true`, video responses also include the thumbnail and
2060+ channel responses include the avatar. Costs the same as any other scrape.
2061+
20502062 ### Billing & errors
20512063
20522064 | HTTP status | Billed? | Meaning |
@@ -4259,6 +4271,18 @@ async def web_scrape_md(
42594271 responses from a recognized API key; use error_code to distinguish stable
42604272 failure categories.
42614273
4274+ ### YouTube
4275+
4276+ YouTube URLs return the video or channel itself rather than the surrounding
4277+ player and navigation chrome. A URL addressing a single video (`/watch`,
4278+ `youtu.be`, `/shorts`, `/embed`, `/live`) returns its title, channel, duration,
4279+ view count, keywords, full description, and the transcript when the video has
4280+ captions that can be retrieved; videos without captions return everything except
4281+ the transcript. A channel URL (`/channel/UC…`, `/@handle`, `/c/…`, `/user/…`)
4282+ returns its name, handle, subscriber count, video count, and full description.
4283+ When `includeImages=true`, video responses also include the thumbnail and
4284+ channel responses include the avatar. Costs the same as any other scrape.
4285+
42624286 ### Billing & errors
42634287
42644288 | HTTP status | Billed? | Meaning |
0 commit comments