Skip to content

Commit db0fcb2

Browse files
committed
Updated yt-dlp guide as it now requires external JavaScript runtime https://github.com/denoland/deno
1 parent 49b8667 commit db0fcb2

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

_posts/2025-03-31-Download Youtube Videos.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ Extract the FFmpeg files and add ffmpeg.exe to your system PATH (or place it in
2626

2727
 
2828

29+
Download external JavaScript runtime (e.g. Deno) as Youtube now requires it.
30+
<https://github.com/yt-dlp/yt-dlp/issues/15012>
31+
32+
If you choose to use Deno and download the file, put it in the same location as yt-dlp and run it once.
33+
34+
You can check if it's installed by running **deno --version** in command prompt.
35+
You should see something like below.
36+
37+
```bash
38+
deno --version
39+
deno 2.5.6 (stable, release, x86_64-pc-windows-msvc)
40+
v8 14.0.365.5-rusty
41+
typescript 5.9.2
42+
```
43+
44+
&nbsp;
45+
2946
You're now able to download public non-member videos and don't need to do anything more if you're not interested in member content.
3047
Open a terminal in the same folder where you installed yt-dlp and try below command, remeber to replace "[URL]" with an actual Youtube link. It will save videos by default in the same folder as the yt-dlp.exe file are located.
3148

@@ -72,13 +89,21 @@ yt-dlp --cookies-from-browser firefox --match-filter "availability=public" -f be
7289
### Download a specific video
7390

7491
```bash
75-
yt-dlp -f bestvideo+bestaudio --merge-output-format mp4 --cookies-from-browser firefox "VIDEO_URL"
92+
yt-dlp -f bestvideo+bestaudio --merge-output-format mp4 --cookies-from-browser firefox "URL"
7693
```
7794

7895
More information about yt-dlp commands <https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#general-options>
7996

8097
&nbsp;
8198

99+
### Download a song as mp3
100+
101+
```bash
102+
yt-dlp -x --audio-format mp3 --cookies-from-browser firefox firefox "URL"
103+
```
104+
105+
&nbsp;
106+
82107
## Update yt-dlp
83108

84109
If running into any issues, try updating **[yt-dlp](https://github.com/yt-dlp/yt-dlp)**.

0 commit comments

Comments
 (0)