How to download private Youtube video using Jdownloader2

Discussion in 'Lounge' started by umatpati, 4 Feb 2026.

  1. umatpati

    umatpati Master

    Lifetime Gold Gold Member No Limit
    Joined:
    31 Oct 2019
    Messages:
    6,998
    Likes Received:
    10,714
    Trophy Points:
    643
    Screenshot-2026-02-04-at-3-15-53-PM.png



    I am trying to download a private youtube video which is shared with me for a limited duration, can anyone please guide me How to download private Youtube video using Jdownloader2 ? because i m confused how to copy cookies and add in settings, whenever i copy cookies it gives me this pop up, I am unable to download, it always give me error it temperorily unavialble..
     
  2. IronMarco

    IronMarco Apprentice IV

    Gold Member No Limit
    Joined:
    22 Jun 2023
    Messages:
    333
    Likes Received:
    1,307
    Trophy Points:
    176
    i'm using Yt-DLP pluss FFMpeg and Deno

    Yt-DLP - https://github.com/yt-dlp/yt-dlp/wiki/Installation
    FFMpeg - https://www.ffmpeg.org/download.html
    Deno - https://github.com/denoland/deno/releases/tag/v2.6.8

    ►How To Download & Install yt-dlp on Windows
    1. Download yt-dlp for Windows ←← This link always downloads the latest yt-dlp.

    2. Create a directory called c:\ytdl and put yt-dlp.exe in that directory. Just put it there. There is no installation. The EXE that you downloaded in the previous step is the program itself.

    3. Download yt-dlp's custom ffmpeg build ← Download the win64-gpl variant

    4. Download 7Zip (a free, open source alternative to Winzip) - Specifically, under the (currently) topmost heading "Download 7-Zip 22.01 (2022-07-15):", download the 64-bit Windows x64 EXE file. Note that "Download 7-Zip 22.01 (2022-07-15):" will change as new versions come out. Always download the latest one.

    5. Install 7Zip (double click the file you downloaded & follow the on-screen instructions)

    6. Once 7Zip is installed, you should be able to double click on the ffmpeg file you downloaded a few steps ago and it will open in 7Zip

    7. Use 7Zip to extract the ffmpeg.exe file to c:\ytdl. The other files in the ZIP are not needed.
    To be 100% clear: ffmpeg.exe should end up in c:\ytdl (not in a subdirectory)

    8. Close out of 7Zip

    9. Click your START button > type envir > Click Edit the system environment variables

    10. Click ENVIRONMENT VARIABLES (button at bottom right)

    11. Double click PATH in the top white section

    12. In the window that opens up, add this line:

    c:\ytdl
    13. Click OK, OK, OK (close all 3 windows)

    14. yt-dlp is now installed. Below are commands for accomplishing some common tasks in yt-dlp.



    ►Run yt-dlp from the Command Line
    1. Click START> type CMD > Click on Command Prompt (→ → do NOT open as Admin ← ←) —— SEE NOTE BELOW

    2. Type cd \ytdl

    3. Now that you are at the command line, you are ready to download.

    4. Go find a video you want to download. (Example)
    side note: no matter what system you're on, Windows, Mac, Linux... never run yt-dlp as root or admin. You can read werid's excellent explanation here



    NOTE: The following headings show you how to do various tasks, although this is by no means an exhaustive list of what yt-dlp can do. It can download from tons of sites and do lots of things with the downloaded material.



    NOTE: Always put quotes around URLs to avoid errors.



    NOTE: When yt-dlp downloads something, it will always place it in the current working directory, meaning that if you are currently running the commands from the c:\video directory, it will download to c:\video.

    But if you change directory to c:\mystuff and run yt-dlp from there, it will download to c:\mystuff.

    For this reason, I like to go to c:\ytdl upon first opening a command line. This way, all my videos get downloaded to that directly and then I can decide where to put them later on.



    Alternately, you can set up a config file to always send your videos to a given directory, so you can run yt-dlp from anywhere. To do so, open the command line and type echo.-P "C:\ytdl">"C:\ytdl\yt-dlp.conf" and press ENTER.

    For more detail and other methods of downloading to a specific directory, see this comment



    ►Download YouTube video as MP3
    At the command line, type this command, replacing the YouTube URL below with the URL of the song you want to download:

    yt-dlp -x --audio-format mp3 "https://www.youtube.com/watch?v=dQw4w9WgXcQ"


    ►Download YouTube Video (audio + video)
    If you want to download the video as it is (with video and audio), you can just run yt-dlp and the YouTube URL of the video, like this:

    yt-dlp "https://www.youtube.com/watch?v=dQw4w9WgXcQ"


    ►Download multiple YouTube Videos (full audio + video)
    You can use the above command multiple times, but let’s be honest. Who has time for that?

    The better way to do it is to go to YouTube and add the videos you want to download to a playlist. These instructions will help you add a video to a playlist in your YouTube account.

    Just be sure to create a new playlist and add the videos to that new playlist, since yt-dlp will download all the videos in the playlist you point it to.

    Once you have the playlist populated with the videos you want, go to that playlist and grab the URL. It should look like this:

    https://www.youtube.com/playlist?list=PLlaN88a7y2_rosKX2WQt2VjFbjyDQXOkR
    Once you have that URL, just use it with yt-dlp like so:

    yt-dlp -i "https://www.youtube.com/playlist?list=PLlaN88a7y2_rosKX2WQt2VjFbjyDQXOkR"
    NOTE: The playlist must be PUBLIC or UNLISTED. You won’t be able to grab anything if the playlist is PRIVATE. (well, you can, but that's beyond the scope of this tutorial) → → → → UPDATE There is actually a new option in yt-dlp that will let you grab the cookies from your browser to download a private video as long as you have access to the video from your logged-in YouTube account. (This will NOT let you grab private videos that you don't have access to!)

    Simply, add --cookies-from-browser BROWSER to your yt-dlp command, like so:

    yt-dlp --cookies-from-browser chrome "<YOUTUBE URL>"


    ►Download multiple YouTube Videos as MP3s
    Very similar to downloading a playlist of videos, so I won’t explain all the details. (read above if necessary) The command line to use is this, but replace the list ID with your list ID:

    yt-dlp -x --audio-format mp3 -i PLlaN88a7y2_rosKX2WQt2VjFbjyDQXOkR


    ►Select video quality
    Credit goes to u/x1996x for this one.

    He was struggling to figure out how to choose the quality of the video to download. The old command that used to work in youtube-dl doesn't work in yt-dlp.

    Since I hadn't done this before, I pointed him at the examples for yt-dlp format selection and suggested that maybe this command would work yt-dlp -f "bv+ba/b"

    My suggestion didn't do what he needed. So, to his credit, he figured out the answer, which is:

    yt-dlp -f "bv*[height<=1080][ext=mp4]+ba[ext=m4a]/b[height<=1080][ext=mp4] / bv*+ba/b"
    Take a look at his additional commentary here, where he breaks down what the whole command does. Good stuff. Thanks u/x1996x!



    ►Additional Help
    There is A LOT that can be done with yt-dlp, so the above is just to get you going in a very basic way.

    You can always look at the help file for yt-dlp by typing:

    yt-dlp --help
    Although it's probably easier to read all the options and switches on the project's github page



    ►Stay Up-To-Date ← ← ← ← ← VERY IMPORTANT
    Every so often, a new release of yt-dlp comes out. If you already have a previous version installed, there's no need to go through the whole installation process again.

    Just run the following command to auto-magically update yt-dlp to the latest version:

    yt-dlp -U
    It will take a few seconds and you'll have the latest version.

    Updating to the latest version might fix problems that pop up (if it's been reported & fixed).

    If you're curious, you can check what version you currently have by running:

    yt-dlp --version
    You can compare it with this yt-dlp page > right hand column where it says RELEASES > the one marked "Latest"

    If your number matches the number listed on the page/section mentioned above, you're good to go.

    Or you can just fun the update command above and it will tell you if you are already at the latest.
     
    dofmaximus and umatpati like this.
  3. umatpati

    umatpati Master

    Lifetime Gold Gold Member No Limit
    Joined:
    31 Oct 2019
    Messages:
    6,998
    Likes Received:
    10,714
    Trophy Points:
    643
    Thank you so much but unfortunately I’m using mac ..
     
  4. IronMarco

    IronMarco Apprentice IV

    Gold Member No Limit
    Joined:
    22 Jun 2023
    Messages:
    333
    Likes Received:
    1,307
    Trophy Points:
    176
    you can do also with MAC:
    https://www.youtube.com/watch?v=5FRl90tcUMY


    YT-DLP is a powerful command-line media downloader for Mac, best installed via Homebrew using brew install yt-dlp in the Terminal. It requires ffmpeg for merging video/audio (brew install ffmpeg). Run it with yt-dlp to download videos, or use yt-dlp ...dnjjsCSAxXY_rsIHSFPJ0gQgK4QegQIAxAE']MacPorts: For users with MacPorts installed, use:
    bash
    sudo port install yt-dlp


    [*]Binary: You can download the latest binary directly from the GitHub repository.
    [/LIST]

    Basic Usage
    1. Open Terminal.
    2. Navigate to the folder where you want to save the file (e.g., cd ~/Desktop).
    3. Run yt-dlp followed by the URL:
      bash
      yt-dlp "https://www.youtube.com/watch?v=..."

    Essential Commands
    • Download Best Quality (MP4): yt-dlp -f "bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] / bv*+ba/b" [*]Download Audio Only: yt-dlp -x ...*]Update yt-dlp: brew upgrade yt-dlp [/LIST]
     
    dofmaximus likes this.
  5. umatpati

    umatpati Master

    Lifetime Gold Gold Member No Limit
    Joined:
    31 Oct 2019
    Messages:
    6,998
    Likes Received:
    10,714
    Trophy Points:
    643
    sorry, but i don't wish mess up with these all. I am just looking for a solution which works for Jdownloader
     
Top