List of Recommended CLI tools to Download Video from Mega, Youtube, and Mediafire

As a Plex user, I always downloaded videos directly using ssh to my storage VPS to speed-up download film collections rather than manually FTP using WinSCP or Filezilla, or using Linux GUI.

Here is a list of recommended CLI tools to download videos:

  • Megatools (to download Meganz files directly using CLI ssh)
  • yt-dlp (to download youtube videos directly using CLI ssh)
  • mediafire-dl (to download mediafire files directly using CLI ssh)

Megatools

Megatools - command line client for Mega.nz
Megatools is a collection of programs for accessing Mega.nz service from a command line of your desktop or server.
Megatools allow you to copy individual files as well as entire directory trees to and from the cloud. You can also perform streaming downloads for example to preview videos and audio files, without needing to download the entire file.

with Megatools, we can download links to a single file on meganz or a folder of files on meganz.

yt-dlp

I choose yt-dlp rather than youtube-dl because the original youtube-dl limits the download speed.

GitHub - yt-dlp/yt-dlp: A youtube-dl fork with additional features and fixes
A youtube-dl fork with additional features and fixes - GitHub - yt-dlp/yt-dlp: A youtube-dl fork with additional features and fixes
yt-dlp is a youtube-dl fork based on the now inactive youtube-dlc. The main focus of this project is adding new features and patches while also keeping up to date with the original project

with yt-dlp, we can download youtube videos directly using ssh.

mediafire-dl

GitHub - Juvenal-Yescas/mediafire-dl: Simple command-line script to download files from mediafire based on gdown
Simple command-line script to download files from mediafire based on gdown - GitHub - Juvenal-Yescas/mediafire-dl: Simple command-line script to download files from mediafire based on gdown
mediafire-dl is a script written in Python to automate the download of files from mediafire.com with a simple command-line interface.

with mediafire-dl, we can download mediafire files directly using ssh.

All instructions like how to install the tools, and how to use them are written clearly in their documentation sites.

Thanks for reading 👍