
获取视频id,标题,作者名,频道id,订阅数,浏览量,发布日期,视频时长,点赞数,评论数
Batch extract YouTube video metadata including title, views, likes, comments, channel info, and more. Supports multiple URL formats, automatic retries, and concurrency control.
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| url | ✅ | array | - | List of YouTube video URLs |
| max_concurrency | No | integer | 5 | Maximum concurrency |
| retry_times | No | integer | 3 | Retry times for network errors |
| retry_delay_seconds | No | number | 1.0 | Retry interval (seconds) |
| Format | Example |
|---|---|
| Standard Watch Link | https://www.youtube.com/watch?v=VIDEO_ID |
| Short Link | https://youtu.be/VIDEO_ID |
| Shorts Link | https://www.youtube.com/shorts/VIDEO_ID |
| Live Link | https://www.youtube.com/live/VIDEO_ID |
| Embed Link | https://www.youtube.com/embed/VIDEO_ID |
| Raw Video ID | VIDEO_ID(11 characters) |
| Field | Type | Description |
|---|---|---|
| url | text | Original input YouTube URL |
| video_id | text | Parsed YouTube video ID |
| status | text | Execution status:success/failed |
| title | text | Video title |
| author_name | text | Channel name |
| channel_id | text | Channel ID |
| subscriber | integer | Subscriber count |
| view_count | integer | View count |
| publish_date | text | Publish date (YYYY-MM-DD) |
| duration_sec | integer | Video duration (seconds) |
| like_count | integer | Like count |
| comment_count | integer | Comment count |
| error | text | Error message (empty on success) |
max_concurrency based on your proxy capacity; high values may cause instability.YouTube is not accessible directly in some regions. The script is designed to run with a proxy. Missing PROXY_DOMAIN will throw an exception.
Supports standard watch links, short links, Shorts, Live, Embed, and 11-character raw video IDs.
Only network errors trigger retries. Definitive errors such as invalid parameters or parsing failures do not retry. Default: 3 retries, 1‑second interval.
The default 5 concurrent requests works for most proxies. Adjust based on proxy bandwidth and stability; higher values may trigger rate limits or timeouts.
YouTube’s API structure may change. Check the parse_yt_data() function and update field mapping logic accordingly.
Not necessarily. Some channels hide subscriber counts, or the field may be missing in raw data. Check the error field to confirm exceptions.
Explore more popular scrapers from our marketplace
by CoreClaw
Extract public profile data in bulk by entering a URL, including channel name, subscriber count, video count, view count, description and popular videos. Export in CSV or JSON format for competitor analysis and user research, with one-click structured data export.
by CoreClaw
By entering keywords, batch extract public YouTube channel data, including channel name, subscriber count, video count, view count, description, popular videos, etc., outputting in CSV or JSON format. Supports competitor analysis, user research, zero-code operation, one-click export of structured data.
by CoreClaw
Extract public YouTube video comments in bulk via video IDs, including content, commenter details, likes, replies, and author interactions. Export structured data to CSV or JSON with one click for sentiment analysis and user insights.
by CoreClaw
Extract public YouTube video data in bulk via video IDs, including title, description, channel info, views, likes, comments and duration. Export structured data to CSV or JSON with one click for content analysis and statistics.