Real Debrid CLI
This tool is a simple command-line interface for Real Debrid. You can use it to manage and download files instead of the website.
Installation
Install the latest binary from the releases section.
# Extract tarfile
tar -xf realdebrid-cli-v0.0.7-linux-amd64.tar.gz
# Install somewhere in $PATH
sudo mv realdebrid /usr/local/bin/realdebrid
Example Usage
Download from a restricted link
# Set API Token
export REAL_DEBRID_API_TOKEN="myapitoken"
# set file to download
export LINK="https://link.to/my/file.zip"
# Download a file or folder and store results to ~/Downloads/debrid
realdebrid downloads fetch $LINK \
-o $HOME/Downloads/debrid
# Download a list of links stored in a text file
realdebrid downloads fetch \
-f download_links.txt \
-o $HOME/Downloads/debrid
# Download a list of links, skipping the parsing of any folders.
# This can speed up the process when you have a lot of links which
# you know are not folders.
realdebrid downloads fetch \
-f download_links.txt \
-o $HOME/Downloads/debrid \
--skip-folders
# Alternatively set token with a flag
realdebrid downloads fetch $LINK \
-o $HOME/Downloads/debrid \
--token my-api-token
Check if a restricted link is valid and downloadable
realdebrid downloads check $LINK
List all downloads
realdebrid downloads list
Remove all downloads
realdebrid downloads clean