Awesome
spotify-oggmp4-dl
Downloads Spotify Tracks/Albums/Playlists/Podcasts in MP4_128, MP4_256, OGG_VORBIS_320, OGG_VORBIS_160 and OGG_VORBIS_96 formats
Notice
Spotify seems to be randomly blocking CDMs. Some work, some don't.
This could be the case on any phone (Spotify doesn't work on my phone in the browser).
Installation
- Install the
requirements.txt
file - Install
protobuf==5.27.2
manually (ignore errors) - MP4_***: Add a CDM in the
cdm
directory and mp4decrypt in themp4decrypt
directory - OGG_VORBIS_***: Place the playplay binary inside the
playplay
directory - Enter your
sp_dc
Spotify Cookie when first starting the program
Usage
usage: python main.py [-h] --id ID [--quality {MP4_128,MP4_128_DUAL,MP4_256,MP4_256_DUAL,OGG_VORBIS_320,OGG_VORBIS_160,OGG_VORBIS_96}] [--output OUTPUT] [--debug]
options:
-h, --help show this help message and exit
--id ID Spotify URL/URI/ID
--quality {MP4_128,MP4_128_DUAL,MP4_256,MP4_256_DUAL,OGG_VORBIS_320,OGG_VORBIS_160,OGG_VORBIS_96}
Quality level
--output OUTPUT Output path
--debug Print debug information