Tag: YouTube

How to download YouTube subtitle file in any language

This article will show you how to download subtitles for YouTube videos. In this case, you can choose any language for the downloaded subtitles. We will be using a free open source program that has a graphical interface and runs on Windows and Linux.

JDownloader can download subtitles from YouTube. For details about this program, as well as how to install it, see the article “How to download YouTube videos on Windows and Linux”.

To download subtitles in any language, add the link to the video to download:

You don't need to download the video itself. If you want to download only subtitles, then expand the list of files:

If you want to change the language of the downloaded subtitles, then select it in the drop-down menu:

Now right-click on the subtitle file and select “Start Downloads” in the context menu that opens.

This will give you your subtitle file in the selected language.

How to download YouTube videos on Windows and Linux (GUI without third party services)

For Linux, there are different ways to download YouTube videos, including command line tools. I will show you a very user-friendly GUI downloader. In fact, this program supports hundreds of sites to automate downloads. Among these sites are file hosting and video sites. Moreover, you are not just given a download link, this program completely automates the process, that is, you can add many links of file hosting or video sites and they will all be downloaded without your further participation.

This is the JDownloader program. It is completely free, open source and runs on both Linux and Windows.

This program uses Java, but you don't need to worry about installing it - the program has its own portable Linux machine.

How to install JDownloader on Linux

So, to install JDownloader on Linux go to the official page: https://jdownloader.org/download/index

Select the Linux version x64 (64-bit) or x86 (32-bit).

The installation archive will be downloaded.

The program is portable and can be installed in any folder. By default, it will offer to install itself in the jd2 directory of the user's home folder. If you don't want to make a mess in your home folder, then I recommend creating a separate directory for your programs. For me it will be the bin directory in the user's home folder, to create it, run the command in the console:

mkdir ~/bin

Also, in the console, go to the folder with the downloaded file, for example, I downloaded to Downloads, go there:

cd ~/Downloads/

And run:

sh JD2Setup_x64.sh

I will not show all the windows, in some of them you just need to click “Next” or accept the license agreement. I will show only those that may raise questions.

When choosing the installation folder, specify the “bin” folder in your home directory:

It says to create an icon on the desktop:

After the installation was completed, I did not find an icon on my desktop, so I go to the folder with the installed program:

cd ~/bin/jd2/

And copy the shortcut to the desktop:

cp JDownloader\ 2.desktop ~/Desktop/

If the language of you operating system is not English, the Desktop folder may have a different name - so edit the command, or drag and drop the file using the graphical file manager.

To download from YouTube (or any other file hosting service), just copy the page address. JDownloader will decrypt the real link and add it to the download:

Please note that you can download video, audio, cover art and subtitles if available. Everything is elementary.

If you need to download a file via the Tor network, then install the tor package on your Linux system:

sudo apt update
sudo apt install tor

and run it:

sudo systemctl start tor.service

And in JDownloader go to Settings → Connection Manager:

Add a new connection, select Socks5 as the Connection Type, enter localhost as the Host, and where the port is 9050:

Save it and switch to this connection: