This tool is a simple command-line interface for Real Debrid. You can use it to manage and download files instead of the website.
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
# 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
realdebrid downloads check $LINK
realdebrid downloads list
realdebrid downloads clean