youtube-dl is a command-line program to download videos from YouTube.com and a few more sites
Information and Overview
youtube-dl is a command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on macOS. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.
Please make yourself aware of the Ultra.cc Fair Usage Policy, especially if you plan on encoding your YoutubeDL Content. It is your responsibility to ensure usage is within acceptable limits. Ignorance is not an excuse.
In this guide, we’ll be setting up Youtube-DL for the first time. Installation is as simple as running two commands via SSH in your Ultra.cc Slot.
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o ~/bin/youtube-dl chmod a+xr ~/bin/youtube-dl
Ensure the install is successful by running
Downloading a Video using Youtube-DL
We recommend creating a folder for your video downloads.
mkdir -p ~/media/Youtubedl
Then enter the directory you just created
For this doc we will issue a simple one video download using a URL, Yotube-DL is able to download Playlist, it can download from a list of URLs in a text document, it can also output to a specified folder. To learn more about the massive number of options on offer please refer to the Github link provided in the overview, alternatively some of the options are explained with the `youtube-dl -h` command.
So now we are inside the folder we wish the completed video to reside in we can issue the download command.
That is as simple as
youtube-dl URL for example
This will output something similar to this
[dashsegments] Total fragments: 15 [download] Destination: Transdrone_Transdroid With Ultraseedbox-ClGeD1Pq_Lg.f247.webm [download] 66.7% of \~2.41MiB at 55.48MiB/s ETA 00:04
Upon completion you will find the completed video in the folder.
Confirm this with a