This is an old revision of the document!
Table of Contents
Saving Audio/Video Streams
deemix
CLI
https://pypi.org/project/deemix/
https://www.reddit.com/r/deemix/
Python server with web interface:
https://gitlab.com/RemixDev/deemix-webui
https://gitlab.com/RemixDev/deemix-gui/-/tree/main
Standalone GUI, Server or one-file Server for Linux/Win/Mac x86:
https://download.deemix.app/0:/
Note: all of the above require an arl = arl cookie after logging into (free) deezer account. i.e. F12 in Firefox, storage, cookies, arl, then copy the content. The cookie is valid for 3 months.
Entering the arl cookie in the web interface stores it per client. Storing it in ~/.config/deemix/.arl and using –serverwide-arl flag can use the same for all clients.
Linux install/update of server with static libraries:
- update-deemix.sh
#!/bin/bash echo "Downloading latest version..." wget https://download.deemix.app/0:/server/linux-x86_64-latest echo "Backing up old version..." sudo rm -rf /opt/deemix-server-old sudo mv /opt/deemix-server /opt/deemix-server-old sudo mkdir /opt/deemix-server sudo mv linux-x86_64-latest /opt/deemix-server/deemix-server sudo chmod 755 /opt/deemix-server/deemix-server echo "Restarting deemix server..." systemctl --user restart deemix echo "Done!"
Linux user systemd service for server if extracted to /opt/deemix-server/:
mkdir -p .config/systemd/user/ vi .config/systemd/user/deemix.service
[Unit] Description=Deemix Server [Service] ExecStart=/opt/deemix-server/deemix-server --host 0.0.0.0 --serverwide-arl Restart=always RestartSec=10 [Install] WantedBy=default.target
systemctl --user enable deemix
d-fi
Console application Linux/Mac/Windows:
https://notabug.org/sayem314/d-fi
https://github.com/d-fi/releases/releases
Dependency may be required:
apt-get install lib64stdc++6
Download/update bash script:
- dfiupdate.sh
#!/bin/bash get_latest_release() { curl --silent "https://api.github.com/repos/$1/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' } ver=$(get_latest_release "d-fi/releases") cd /tmp wget https://github.com/d-fi/releases/releases/download/$ver/d-fi-linux.zip unzip d-fi-linux.zip rm d-fi-linux.zip mv d-fi ~/Downloads
Works with Deezer Album,Songs and Artists, not Podcasts.
deemon
Automatically monitor and/or download new releases of artists.
yt-dl / youtube-dl
Youtube Download (lots of supported sites: https://yt-dl.org/supportedsites.html )
https://yt-dl.org/
https://github.com/ytdl-org/youtube-dl
Works with youtube, soundcloud and many more
Install/upgrade not via apt or wget/curl but using:
sudo -H pip install --upgrade youtube-dl
Fixes to individual extractors not in official release yet can be applied as in the following example:
wget https://raw.githubusercontent.com/ytdl-org/youtube-dl/d42b7b6c5e927a8e4e82be96a551b5054e445974/youtube_dl/extractor/redtube.py sudo mv /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/redtube.py /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/redtube.py_backup sudo mv redtube.py /usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/redtube.py
mediasave Chrome
Mediasave Browser addon (Chrome)
https://mediasave.ru/en/
https://chrome.google.com/webstore/detail/mediasave-download-music/hfgbpkkdodfihabamnkhoaeamkdhnoec
Works with unprotected media
Media Download Helper Firefox
Media Download Helper (Firefox)
https://addons.mozilla.org/en-US/firefox/addon/media-download-helper/
Uses external service to record the stream. No Filenames/ID3tags preserved!