ComfyUI Node
YouTube Downloader (yt-dlp)
Download audio and video from hundreds of websites using yt-dlp
YouTube Downloader (yt-dlp)
- output_dir
- summary
- download_count
- success
◄url_list# Enter URLs here, one per line
# Example:
# https://www.youtube.com/watch?v=example
# https://soundcloud.com/user/track►
◄output_dir./yt-dlp-output►
◄batch_file►
◄config_path►
◄cookie_file►
◄use_browser_cookiestrue►
◄browser_namefirefox►
◄use_download_archivetrue►
◄archive_file./yt-dlp-archive.txt►
◄format_selectorbest►
◄extract_audiofalse►
◄audio_formatmp3►
◄audio_quality192►
◄download_subtitlesfalse►
◄subtitle_langsen►
◄embed_subtitlesfalse►
◄write_info_jsontrue►
◄organize_filestrue►
◄rate_limit►
◄concurrent_fragments1►
◄playlist_start►
◄playlist_end►
◄extra_options►
CategoryDownloaders
Inputs (23)
| Name | Type | Default | Description |
|---|---|---|---|
| url_list | STRING | # Enter URLs here, one per line # Example: # https://www.youtube.com/watch?v=example # https://soundcloud.com/user/track | — |
| output_dir | STRING | ./yt-dlp-output | Directory where downloaded files will be saved |
| batch_fileopt | STRING | Path to a text file containing URLs (one per line) | |
| config_pathopt | STRING | Path to yt-dlp config file | |
| cookie_fileopt | STRING | Path to Netscape cookies file (for authenticated downloads) | |
| use_browser_cookiesopt | BOOLEAN | true | Use browser cookies for authentication (ignored if cookie file is provided) |
| browser_nameopt | COMBO | firefox | Browser to extract cookies from (Firefox works without admin, Chrome/Edge require admin) |
| use_download_archiveopt | BOOLEAN | true | Use archive file to skip already downloaded content |
| archive_fileopt | STRING | ./yt-dlp-archive.txt | Path to the download archive file |
| format_selectoropt | COMBO | best | Video format to download. 'best' gets highest quality, 'bestaudio' gets audio only |
| extract_audioopt | BOOLEAN | false | Extract audio from videos (requires ffmpeg) |
| audio_formatopt | COMBO | mp3 | Audio format when extracting audio |
| audio_qualityopt | COMBO | 192 | Audio quality in kbps (for lossy formats) |
| download_subtitlesopt | BOOLEAN | false | Download subtitle files |
| subtitle_langsopt | STRING | en | Subtitle languages to download (comma-separated, e.g., 'en,es,fr' or 'all') |
| embed_subtitlesopt | BOOLEAN | false | Embed subtitles in video files (requires ffmpeg) |
| write_info_jsonopt | BOOLEAN | true | Save video metadata to JSON files |
| organize_filesopt | BOOLEAN | true | Sort downloaded files into subfolders (videos/, audio/, subtitles/, other/) |
| rate_limitopt | STRING | Maximum download rate (e.g., '1M' for 1MB/s, '500K' for 500KB/s) | |
| concurrent_fragmentsopt | COMBO | 1 | Number of fragments to download concurrently |
| playlist_startopt | STRING | Playlist start index (leave empty for all) | |
| playlist_endopt | STRING | Playlist end index (leave empty for all) | |
| extra_optionsopt | STRING | Additional options for yt-dlp (e.g., '--write-thumbnail --embed-metadata') |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| output_dir | STRING | — |
| summary | STRING | — |
| download_count | INT | — |
| success | BOOLEAN | — |