First, here's a small list of guides for downloading music using Termux. Make sure you downloaded and installed Termux from it's github.
Spotify
Tidal, Deezer, and Qobuz
Apple Music
Now, here's a small guide I made on how to share Spotify, Tidal, Qobuz, Deezer, or Apple Music links to Termux and have Termux download it:
1 - In the home directory of Termux, make a folder named "bin" by running mkdir bin
2 - Run cd bin
and make a file named "termux-url-opener" by running nano termux-url-opener
.
3 - Copy and paste one of the following lines into termux-url-opener:
4 - Press CTRL+X and press Y to save and exit. Termux should now show up in the share menu.
5 - If you want to use all three downloaders, copy and paste this instead:
Notes:
- Yes, all of these downloaders support batch downloads. You're able to download full albums and playlists with them.
- No, this does not require a rooted android device.
- Yes it's safe. Everything here is even open source, meaning you can check the code yourself for any bad actors.