[{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"readme-html:EDM115\u002Fbulk-youtube-download:master":3},"\u003Cdiv align=\"center\">\n\u003Ch1 id=\"bulk-you-tube-video-downloader\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"bulk-you-tube-video-downloader\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#bulk-you-tube-video-downloader\">Bulk \u003Ccode class=\"hljs\">\u002F\u003Cspan class=\"hljs-punctuation\">(\u003C\u002Fspan>YouTube\u003Cspan class=\"hljs-string\">|Video)\u002F\u003C\u002Fspan>\u003C\u002Fcode> Downloader\u003C\u002Fa>\u003C\u002Fh1>\n\u003Ch2 id=\"download-multiple-videos-at-once-with-one-simple-script\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"download-multiple-videos-at-once-with-one-simple-script\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#download-multiple-videos-at-once-with-one-simple-script\">Download multiple videos at once with one simple script.\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>Works with Youtube and \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fblob\u002Fmaster\u002Fsupportedsites.md\" target=\"_blank\" rel=\"noopener noreferrer\">all other sites supported by \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">yt-dlp\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fa>.\u003Cbr>\n\u003Cbr>\n\u003C\u002Fp>\n\u003Cp>\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002FEDM115\u002Fbulk-youtube-download\u002Ftotal?style=for-the-badge&amp;label=Total%20downloads\" alt=\"Total downloads\" loading=\"lazy\">\u003C\u002Fp>\n\u003C\u002Fdiv>\n\u003Ch2 id=\"prerequisites\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"prerequisites\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#prerequisites\">Prerequisites\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>Download \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">yt-dlp\u003C\u002Fspan>\u003C\u002Fcode>\n\u003Cul>\n\u003Cli>For Linux-based systems, \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki\u002FInstallation#apt\" target=\"_blank\" rel=\"noopener noreferrer\">this\u003C\u002Fa> is probably the easiest way\u003C\u002Fli>\n\u003Cli>For Windows, \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Fwiki\u002FInstallation#winget\" target=\"_blank\" rel=\"noopener noreferrer\">winget\u003C\u002Fa> might be the easiest, although if you don’t have winget, just download the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp\u002Freleases\u002Flatest\u002Fdownload\u002Fyt-dlp.exe\" target=\"_blank\" rel=\"noopener noreferrer\">\u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-title\">.exe\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fa> and put it somewhere in your PATH (if you don’t know what that is, create a folder called \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">yt-dlp\u003C\u002Fspan>\u003C\u002Fcode> in \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-symbol\">C:\u003C\u002Fspan>\\Program Files\u003C\u002Fcode>, put the exe there, do \u003Ckbd>Win\u003C\u002Fkbd> + \u003Ckbd>R\u003C\u002Fkbd>, \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">systempropertiesadvanced\u003C\u002Fspan>\u003C\u002Fcode>, Environment Variables, in System variables double click on \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-keyword\">Path\u003C\u002Fspan>\u003C\u002Fcode>, new, \u003Ccode class=\"hljs\">C:\u003Cspan class=\"hljs-string\">\\Program\u003C\u002Fspan> Files\u003Cspan class=\"hljs-string\">\\yt-dlp\u003C\u002Fspan>\u003C\u002Fcode> and OK all the way out), in that case use \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">yt-dlp -U\u003C\u002Fspan>\u003C\u002Fcode> to update it later\u003C\u002Fli>\n\u003Cli>If you have it installed with \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">pip\u003C\u002Fspan>\u003C\u002Fcode>, make sure to update it to the latest version that has \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">ejs\u003C\u002Fspan>\u003C\u002Fcode> support by running \u003Ccode class=\"hljs\">pip install -U yt-dlp[\u003Cspan class=\"hljs-keyword\">default\u003C\u002Fspan>]\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>Download \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">FFmpeg\u003C\u002Fspan>\u003C\u002Fcode>\n\u003Cul>\n\u003Cli>For Linux-based systems, it should already be installed, otherwise check \u003Ca href=\"https:\u002F\u002Fwww.ffmpeg.org\u002Fdownload.html#build-linux\" target=\"_blank\" rel=\"noopener noreferrer\">this\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>For Windows, either run \u003Ccode class=\"hljs\">winget \u003Cspan class=\"hljs-keyword\">install\u003C\u002Fspan> ffmpeg\u003C\u002Fcode> or download \u003Ca href=\"https:\u002F\u002Fwww.gyan.dev\u002Fffmpeg\u002Fbuilds\u002Fffmpeg-git-full.7z\" target=\"_blank\" rel=\"noopener noreferrer\">this\u003C\u002Fa> and follow the same instructions as above to add it to your PATH\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>Download \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">Deno\u003C\u002Fspan>\u003C\u002Fcode> (required to support YouTube download with the latest \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">yt-dlp\u003C\u002Fspan>\u003C\u002Fcode> versions)\n\u003Cul>\n\u003Cli>For Linux-based systems, run \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">curl\u003C\u002Fspan> -fsSL https:\u002F\u002Fdeno.land\u002Finstall.sh | sh\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>For Windows, either run \u003Ccode class=\"hljs\">winget \u003Cspan class=\"hljs-keyword\">install\u003C\u002Fspan> DenoLand.Deno\u003C\u002Fcode> or \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">irm\u003C\u002Fspan> https:\u002F\u002Fdeno.land\u002Finstall.ps1 | iex\u003C\u002Fcode> in Powershell\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"usage\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"usage\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#usage\">Usage\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>Download the script file \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FEDM115\u002Fbulk-youtube-download\u002Freleases\u002Flatest\u002Fdownload\u002Fbulk-youtube-download.bat\" target=\"_blank\" rel=\"noopener noreferrer\">\u003Ccode class=\"hljs\">bulk-youtube-download.bat\u003C\u002Fcode>\u003C\u002Fa> (or \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FEDM115\u002Fbulk-youtube-download\u002Freleases\u002Flatest\u002Fdownload\u002Fbulk-youtube-download.sh\" target=\"_blank\" rel=\"noopener noreferrer\">\u003Ccode class=\"hljs\">bulk-youtube-download.\u003Cspan class=\"hljs-keyword\">sh\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fa> for Linux\u002FMac) and put it somewhere you want\u003C\u002Fli>\n\u003Cli>Create a text file called \u003Ccode class=\"hljs\">links.txt\u003C\u002Fcode> in the same folder as the script\u003C\u002Fli>\n\u003Cli>Put your links in the \u003Ccode class=\"hljs\">links.txt\u003C\u002Fcode> file as a JSON array, for example :\n          \u003Cdiv class='code-block'>\n            \u003Cdiv class='code-block-header'>\n              \u003Cspan class='code-block-lang'>json\u003C\u002Fspan>\n              \u003Cbutton class='copy-code-button' type='button'>\n                Copy\n              \u003C\u002Fbutton>\n            \u003C\u002Fdiv>\n            \u003Cpre>\u003Ccode class='hljs json'>\u003Cspan class=\"hljs-punctuation\">[\u003C\u002Fspan>\n  \u003Cspan class=\"hljs-string\">&quot;https:\u002F\u002Fyoutu.be\u002F7ssVNgOK_MM&quot;\u003C\u002Fspan>\u003Cspan class=\"hljs-punctuation\">,\u003C\u002Fspan>\n  \u003Cspan class=\"hljs-string\">&quot;https:\u002F\u002Fyoutu.be\u002FxyLWY2wXbho&quot;\u003C\u002Fspan>\u003Cspan class=\"hljs-punctuation\">,\u003C\u002Fspan>\n  \u003Cspan class=\"hljs-string\">&quot;https:\u002F\u002Fyoutu.be\u002Fp0dw-276t7w&quot;\u003C\u002Fspan>\u003Cspan class=\"hljs-punctuation\">,\u003C\u002Fspan>\n  \u003Cspan class=\"hljs-string\">&quot;https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=dYVoZJXuhxk&quot;\u003C\u002Fspan>\u003Cspan class=\"hljs-punctuation\">,\u003C\u002Fspan>\n  \u003Cspan class=\"hljs-string\">&quot;https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=1TwBc7B46X0&quot;\u003C\u002Fspan>\u003Cspan class=\"hljs-punctuation\">,\u003C\u002Fspan>\n  \u003Cspan class=\"hljs-string\">&quot;https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=h2csePLbahQ&quot;\u003C\u002Fspan>\u003Cspan class=\"hljs-punctuation\">,\u003C\u002Fspan>\n  \u003Cspan class=\"hljs-string\">&quot;https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=-m1EzV-i3WI&quot;\u003C\u002Fspan>\u003Cspan class=\"hljs-punctuation\">,\u003C\u002Fspan>\n  \u003Cspan class=\"hljs-string\">&quot;https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=-JdZsKzYWhI&quot;\u003C\u002Fspan>\n\u003Cspan class=\"hljs-punctuation\">]\u003C\u002Fspan>\n\u003C\u002Fcode>\u003C\u002Fpre>\n          \u003C\u002Fdiv>\n        \u003C\u002Fli>\n\u003Cli>Open a terminal\u002Fcommand prompt in the folder where you put the script and the \u003Ccode class=\"hljs\">links.txt\u003C\u002Fcode> file\u003C\u002Fli>\n\u003Cli>Run the script :\n\u003Cul>\n\u003Cli>On Windows : \u003Ccode class=\"hljs\">.\u003Cspan class=\"hljs-string\">\\bulk-youtube-download.bat\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>On Linux\u002FMac : \u003Ccode class=\"hljs\">.\u002Fbulk-youtube-download.sh\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003C\u002Fli>\n\u003Cli>Congrats, the videos are now in the \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">downloads\u003C\u002Fspan>\u003C\u002Fcode> folder !\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"default-download-options-and-how-to-change-them\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"default-download-options-and-how-to-change-them\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#default-download-options-and-how-to-change-them\">Default download options and how to change them\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>By default, the script uses the following options :\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Format : best video + best audio, fallback to best if not available\u003C\u002Fli>\n\u003Cli>Embed subtitles (if available)\u003C\u002Fli>\n\u003Cli>Embed thumbnail\u003C\u002Fli>\n\u003Cli>Embed metadata\u003C\u002Fli>\n\u003Cli>Embed chapters (if available)\u003C\u002Fli>\n\u003Cli>No playlist (only download the video if a playlist link is given)\u003C\u002Fli>\n\u003Cli>Display progress bar\u003C\u002Fli>\n\u003Cli>Output folder : \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-attribute\">downloads\u003C\u002Fspan>\u003C\u002Fcode> (created if it doesn’t exist), filename format : \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-selector-tag\">Video\u003C\u002Fspan> Title \u003Cspan class=\"hljs-selector-attr\">[Video ID]\u003C\u002Fspan>\u003Cspan class=\"hljs-selector-class\">.ext\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>To change these options, just pass what you want after the script name, for example \u003Ccode class=\"hljs\">.\u003Cspan class=\"hljs-string\">\\bulk-youtube-download.bat\u003C\u002Fspan> -f \u003Cspan class=\"hljs-string\">&quot;bestvideo[height&lt;=720]+bestaudio\u002Fbest&quot;\u003C\u002Fspan> --\u003Cspan class=\"hljs-literal\">no\u003C\u002Fspan>-embed-subs -o \u003Cspan class=\"hljs-string\">&quot;downloads\u002F%%(title)s.%%(ext)s&quot;\u003C\u002Fspan>\u003C\u002Fcode>.\u003Cbr>\nA list of options can be found \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp#usage-and-options\" target=\"_blank\" rel=\"noopener noreferrer\">here\u003C\u002Fa>.\u003Cbr>\nHere are some options that might be worth using :\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-comment\">--yes-playlist\u003C\u002Fspan>\u003C\u002Fcode> if you want to download full playlists when a playlist link is given\u003C\u002Fli>\n\u003Cli>\u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-deletion\">-s -F\u003C\u002Fspan>\u003C\u002Fcode> to see the available formats for each video without downloading\u003C\u002Fli>\n\u003Cli>\u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-operator\">-f\u003C\u002Fspan> \u003Cspan class=\"hljs-string\">&quot;format&quot;\u003C\u002Fspan>\u003C\u002Fcode> to specify the format to download, see \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp#format-selection\" target=\"_blank\" rel=\"noopener noreferrer\">this\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-punctuation\">-\u003C\u002Fspan>o \u003Cspan class=\"hljs-string\">&quot;downloads\u002Foutput_template\u003C\u002Fspan>\u003C\u002Fcode> : change the output folder and\u002For filename format, see \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp#output-template\" target=\"_blank\" rel=\"noopener noreferrer\">this\u003C\u002Fa>\u003Cbr>\n⚠️ \u003Cstrong>WARNING\u003C\u002Fstrong> : on Windows, make sure to double the \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-comment\">%\u003C\u002Fspan>\u003C\u002Fcode> signs in the output template (example : use \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-variable\">%%(\u003C\u002Fspan>\u003Cspan class=\"hljs-built_in\">title\u003C\u002Fspan>)s\u003C\u002Fcode> instead of \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-tag\">%(title)\u003Cspan class=\"hljs-selector-tag\">s\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>). Also it’s best to keep the \u003Ccode class=\"hljs\">downloads\u002F\u003C\u002Fcode> part to avoid cluttering the script folder with all the downloaded videos\u003C\u002Fli>\n\u003Cli>\u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-comment\">--sub-langs\u003C\u002Fspan>\u003C\u002Fcode> to specify which subtitles to download, use \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-comment\">--list-subs\u003C\u002Fspan>\u003C\u002Fcode> before to see available languages\u003C\u002Fli>\n\u003Cli>\u003Ccode class=\"hljs\">-\u003Cspan class=\"hljs-attribute\">x\u003C\u002Fspan>\u003C\u002Fcode> to extract audio only for videos that don’t provide separate audio and video streams\u003C\u002Fli>\n\u003Cli>\u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-literal\">--\u003C\u002Fspan>\u003Cspan class=\"hljs-comment\">force\u003C\u002Fspan>\u003Cspan class=\"hljs-literal\">-\u003C\u002Fspan>\u003Cspan class=\"hljs-comment\">keyframes\u003C\u002Fspan>\u003Cspan class=\"hljs-literal\">-\u003C\u002Fspan>\u003Cspan class=\"hljs-comment\">at\u003C\u002Fspan>\u003Cspan class=\"hljs-literal\">-\u003C\u002Fspan>\u003Cspan class=\"hljs-comment\">cuts\u003C\u002Fspan> \u003Cspan class=\"hljs-literal\">--\u003C\u002Fspan>\u003Cspan class=\"hljs-comment\">sponsorblock\u003C\u002Fspan>\u003Cspan class=\"hljs-literal\">-\u003C\u002Fspan>\u003Cspan class=\"hljs-comment\">remove sponsor\u003C\u002Fspan>\u003Cspan class=\"hljs-string\">,\u003C\u002Fspan>\u003Cspan class=\"hljs-comment\">selfpromo\u003C\u002Fspan>\u003C\u002Fcode> to remove segments of the video, see \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyt-dlp\u002Fyt-dlp#sponsorblock-options\" target=\"_blank\" rel=\"noopener noreferrer\">this\u003C\u002Fa> for available categories. The \u003Ccode class=\"hljs\">\u003Cspan class=\"hljs-comment\">--force-keyframes-at-cuts\u003C\u002Fspan>\u003C\u002Fcode> option is recommended to have better results when cutting the video, although it takes longer to process\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"how-to-download-all-videos-from-a-channel\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"how-to-download-all-videos-from-a-channel\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#how-to-download-all-videos-from-a-channel\">How to download all videos from a channel ?\u003C\u002Fa>\u003C\u002Fh2>\n\u003Col>\n\u003Cli>Go on the Youtube channel, go on the Videos tab, reload the page and scroll down until no new video pops out (yes it can take some time)\u003C\u002Fli>\n\u003Cli>Open the console (\u003Ckbd>F12\u003C\u002Fkbd> -&gt; Console) paste the following line and hit enter :\n          \u003Cdiv class='code-block'>\n            \u003Cdiv class='code-block-header'>\n              \u003Cspan class='code-block-lang'>js\u003C\u002Fspan>\n              \u003Cbutton class='copy-code-button' type='button'>\n                Copy\n              \u003C\u002Fbutton>\n            \u003C\u002Fdiv>\n            \u003Cpre>\u003Ccode class='hljs js'>\u003Cspan class=\"hljs-title function_\">copy\u003C\u002Fspan>(\u003Cspan class=\"hljs-title class_\">Array\u003C\u002Fspan>.\u003Cspan class=\"hljs-title function_\">from\u003C\u002Fspan>(\u003Cspan class=\"hljs-keyword\">new\u003C\u002Fspan> \u003Cspan class=\"hljs-title class_\">Set\u003C\u002Fspan>(\u003Cspan class=\"hljs-title class_\">Array\u003C\u002Fspan>.\u003Cspan class=\"hljs-title function_\">from\u003C\u002Fspan>(\u003Cspan class=\"hljs-variable language_\">document\u003C\u002Fspan>.\u003Cspan class=\"hljs-property\">links\u003C\u002Fspan>).\u003Cspan class=\"hljs-title function_\">filter\u003C\u002Fspan>(\u003Cspan class=\"hljs-function\">(\u003Cspan class=\"hljs-params\">l\u003C\u002Fspan>) =&gt;\u003C\u002Fspan> l.\u003Cspan class=\"hljs-property\">href\u003C\u002Fspan>?.\u003Cspan class=\"hljs-title function_\">includes\u003C\u002Fspan>(\u003Cspan class=\"hljs-string\">&quot;watch?v=&quot;\u003C\u002Fspan>)).\u003Cspan class=\"hljs-title function_\">map\u003C\u002Fspan>(\u003Cspan class=\"hljs-function\">(\u003Cspan class=\"hljs-params\">x\u003C\u002Fspan>) =&gt;\u003C\u002Fspan> x.\u003Cspan class=\"hljs-property\">href\u003C\u002Fspan>.\u003Cspan class=\"hljs-title function_\">split\u003C\u002Fspan>(\u003Cspan class=\"hljs-string\">&quot;&amp;&quot;\u003C\u002Fspan>)[\u003Cspan class=\"hljs-number\">0\u003C\u002Fspan>]))))\n\u003C\u002Fcode>\u003C\u002Fpre>\n          \u003C\u002Fdiv>\n        \u003C\u002Fli>\n\u003Cli>Open the \u003Ccode class=\"hljs\">links.txt\u003C\u002Fcode> file, delete everything, paste (\u003Ckbd>Ctrl\u003C\u002Fkbd> + \u003Ckbd>V\u003C\u002Fkbd>) and save the file\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"markdown-alert markdown-alert-tip\">\n\u003Cp class=\"markdown-alert-title\">Tip\u003C\u002Fp>\n\u003Cp>if you see no link, run the following command instead :\u003C\u002Fp>\n\n          \u003Cdiv class='code-block'>\n            \u003Cdiv class='code-block-header'>\n              \u003Cspan class='code-block-lang'>js\u003C\u002Fspan>\n              \u003Cbutton class='copy-code-button' type='button'>\n                Copy\n              \u003C\u002Fbutton>\n            \u003C\u002Fdiv>\n            \u003Cpre>\u003Ccode class='hljs js'>\u003Cspan class=\"hljs-title function_\">copy\u003C\u002Fspan>(\u003Cspan class=\"hljs-title class_\">Array\u003C\u002Fspan>.\u003Cspan class=\"hljs-title function_\">from\u003C\u002Fspan>(\u003Cspan class=\"hljs-keyword\">new\u003C\u002Fspan> \u003Cspan class=\"hljs-title class_\">Set\u003C\u002Fspan>(\u003Cspan class=\"hljs-title class_\">Array\u003C\u002Fspan>.\u003Cspan class=\"hljs-title function_\">from\u003C\u002Fspan>(\u003Cspan class=\"hljs-variable language_\">document\u003C\u002Fspan>.\u003Cspan class=\"hljs-property\">links\u003C\u002Fspan>).\u003Cspan class=\"hljs-title function_\">filter\u003C\u002Fspan>(\u003Cspan class=\"hljs-function\">(\u003Cspan class=\"hljs-params\">l\u003C\u002Fspan>) =&gt;\u003C\u002Fspan> l.\u003Cspan class=\"hljs-property\">href\u003C\u002Fspan>?.\u003Cspan class=\"hljs-title function_\">includes\u003C\u002Fspan>(\u003Cspan class=\"hljs-string\">&quot;.be\u002F&quot;\u003C\u002Fspan>)).\u003Cspan class=\"hljs-title function_\">map\u003C\u002Fspan>(\u003Cspan class=\"hljs-function\">(\u003Cspan class=\"hljs-params\">x\u003C\u002Fspan>) =&gt;\u003C\u002Fspan> x.\u003Cspan class=\"hljs-property\">href\u003C\u002Fspan>.\u003Cspan class=\"hljs-title function_\">split\u003C\u002Fspan>(\u003Cspan class=\"hljs-string\">&quot;&amp;&quot;\u003C\u002Fspan>)[\u003Cspan class=\"hljs-number\">0\u003C\u002Fspan>]))))\n\u003C\u002Fcode>\u003C\u002Fpre>\n          \u003C\u002Fdiv>\n        \u003C\u002Fdiv>\n\u003Ch2 id=\"demo\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"demo\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#demo\">Demo\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cp>\u003Cvideo src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F6ebc63ea-737e-46e0-87ee-b403b2272ae4\" width=\"1920\" height=\"1080\" controls>\u003C\u002Fvideo>\u003C\u002Fp>\n\u003Ch2 id=\"you-have-an-error\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"you-have-an-error\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#you-have-an-error\">You have an error ?\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>The video may be geo-restricted\u003C\u002Fli>\n\u003Cli>If you have any special error message, \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FEDM115\u002Fbulk-youtube-download\u002Fissues\u002Fnew\u002Fchoose\" target=\"_blank\" rel=\"noopener noreferrer\">open an issue \u003Cstrong>here first\u003C\u002Fstrong>\u003C\u002Fa> to not bloat yt-dlp’s repo\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"credits\" tabindex=\"-1\">\u003Cspan\n                class=\"header-copy-icon\"\n                role=\"button\"\n                data-slug=\"credits\"\n              >\n                \u003Csvg>\u003Cpath fill=\"currentColor\" d=\"M10.59 13.41c.41.39.41 1.03 0 1.42c-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0a5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.98 2.98 0 0 0 0-4.24a2.98 2.98 0 0 0-4.24 0l-3.53 3.53a2.98 2.98 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0a5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.98 2.98 0 0 0 0 4.24a2.98 2.98 0 0 0 4.24 0l3.53-3.53a2.98 2.98 0 0 0 0-4.24a.973.973 0 0 1 0-1.42\"\u002F>\u003C\u002Fsvg>\n              \u003C\u002Fspan>\u003Ca class=\"header-anchor\" href=\"#credits\">Credits\u003C\u002Fa>\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>Script created by myself (\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FEDM115\" target=\"_blank\" rel=\"noopener noreferrer\">@EDM115\u003C\u002Fa>)\u003C\u002Fli>\n\u003Cli>Inspired by a request of \u003Ca href=\"https:\u002F\u002Ft.me\u002FCris_admin\" target=\"_blank\" rel=\"noopener noreferrer\">Crystal\u003C\u002Fa>\u003C\u002Fli>\n\u003C\u002Ful>\n",1779532540857]