![]() The command should look like this: youtube-dl In most Linux terminals, press Ctrl+ Shift+ V.) In macOS, paste in the terminal using Command+ V. (In Windows, place your cursor in the command prompt window and right-click to paste. Then, paste the URL you copied in step 1. The youtube-dl executable is already installed to a directory in your PATH, so you can run it from any directory.) (On macOS or Linux, if you installed using a package manager such as Homebrew or apt, you can skip this step. Navigate to the folder where you downloaded YouTube-dl, using the cd command.Usually, pressing Ctrl+ Alt+ T to open a terminal window. On Linux, your terminal program depends on your particular Linux distribution. In macOS, open Applications, then Utilities, and choose Terminal. On Windows, you can open the command prompt if you press Windows key+ R (hold down the Windows key and press R) to open the Run box, then type cmd and press Enter. Open a command prompt or terminal window.If the URL has a " &" in it (a playlist, for example), only copy the URL up to the & symbol. Select the text of the URL in the address bar, and copy it to your clipboard by pressing Ctrl+ C. Go to a video on YouTube that you want to download.The simplest way to use YouTube-dl is to give it the URL of a youtube video. Here, we cover the basics: downloading video, and downloading audio. For help using the terminal in Linux or macOS, see: Linux shell tutorial.For help using the command prompt in Windows, see: How to use the Windows command line (DOS).Instead, you use it from your command prompt or terminal window. YouTube-dl is a command line program, so it has no GUI (graphical user interface). On all Linux systems, you can also install it using the curl, wget, or git methods listed above for macOS. ![]() For instance, on Debian or Ubuntu systems, you can install using apt: sudo apt install youtube-dl YouTube-dl is available as a packaged binary in many Linux operating systems. When installation is complete, you can proceed to Downloading a video, below. echo "PATH=$PATH:$HOME/ydl" > ~/.bashrc & source ~/.bashrc To run the program from anywhere else, move youtube-dl to a directory of your choosing, and make sure this directory exists in your PATH environment variable. If you use curl or wget, youtube-dl is downloaded to your current directory. Or with wget: wget & chmod u+rx youtube-dl You can also download it using curl: curl & chmod u+rx youtube-dl Or, you can download the source code using git, and compile it yourself: git clone & cd youtube-dl & make sudo make install Or, if you have MacPorts, run the command below. If you have Homebrew, you can install YouTube-dl by opening a Terminal and running the following command. For examples of how to use the program, proceed to Downloading a video, below. When you run youtube-dl, nothing happens unless you provide it with the URL (uniform resource locator) of a video to download. You can run it by opening a command prompt, changing to your Downloads directory with the cd command, and running youtube-dl.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |