| Data Type | Description |
|---|---|
| Video Basic Information | Video metadata, including title, description, author, duration, and publication date |
| Comments | Comments posted under the video |
| Subtitle Files | Video subtitle files |
| Video Files (used in this tutorial) | Downloads the actual video file. Billed based on data transfer volume |
| Audio Files | Extracts audio only |
| Video Posts | Data associated with video posts |
| Profile | Creator profile information |
Tip: Click [Tool Documentation] in the upper-right corner to view the current tool's parameter descriptions, response examples, and returned fields at any time. Click [Usage Alerts] to configure usage limits (see the "Usage Alerts" section at the end of this tutorial).
https://www.youtube.com/watch?v=y_AsBG6Br4E| Parameter | Display Name | Description | Available Values |
|---|---|---|---|
url | URL | The YouTube video URL to be collected | Custom URL |
resolution | Resolution | Specifies the video resolution. Supports comparison operators such as ≥ / ≤ | 360p / 480p / 720p / 1080p / 1440p / 2160p |
video_codec | Video Codec | The video compression format used for the output file. The default is VP9. Contact your account manager if you require another codec | H.264/AVC / VP9 / AV1 |
audio_format | Audio Format | The output format for collected audio files | Opus / AAC |
bitrate | Bitrate | The audio bitrate, which affects audio quality and file size. Supports comparison operators | 48Kbps / 64 Kbps / 128 Kbps / 160 Kbps / 256 Kbps / 320 Kbps |
subtitles_language | Subtitle Language | The language of the subtitles to download | Supports 100+ languages, including Simplified Chinese, Traditional Chinese, English, Japanese, and Korean |
selected_only | Download Selected Format Only | Yes: Do not download if no matching format is available. No: Continue downloading using YouTube's default format if no matching format is available | Yes / No |
Note: Selecting a high bitrate with a low resolution may cause download failures. Please configure resolutionandbitrateappropriately.
file_name): Specifies the name of the result file. The default is {{TasksID}} (named after the task ID).Authorization request header carries your API Token (available in the User Center or the [Get Code] pop-up window). Do not disclose your token.spider_universal parameter passes the collection settings configured in Step 6. Values supporting comparison operators, such as resolution and bitrate, should be formatted as >=2160p or <=320.| Field Name | Description | Type |
|---|---|---|
video_title | Video title | Text |
videodownloadUrl | Video download URL | Text |
subtitledownloadUrl | Subtitle download URL | Text |
sourceUrl | Original video URL | Text |
file_size | File size | Number |
credits | Credits consumed | Number |
video_description | Video description | Text |
author_name | Author name | Text |
published_at | Publication date | Text |
video_duration | Video duration | Number |
video_thumbnail | Video thumbnail URL | Text |
video_id | Video ID | Text |
[
{
"video_title": "Train Vs Giant Pit",
"videodownloadUrl": "https://webscraper-data.dataify.com/.../fuhE6PYnRMc_vp9_video.webm",
"subtitledownloadUrl": "...",
"sourceUrl": "https://www.youtube.com/watch?v=fuhE6PYnRMc",
"file_size": 37.61,
"credits": 0.17,
"video_description": "...",
"author_name": "MrBeast",
"published_at": "2023-07-08",
"video_duration": 636,
"video_thumbnail": "https://i.ytimg.com/vi_webp/fuhE6PYnRMc/maxresdefault.webp",
"video_id": "fuhE6PYnRMc"
}
]credits field in the task results.