Downloads Spotify Tracks/Albums/Playlists/Podcasts in MP4_128, MP4_256, OGG_VORBIS_320, OGG_VORBIS_160 and OGG_VORBIS_96 formats
Find a file
2025-09-16 21:41:52 +02:00
cdm Add files via upload 2024-07-14 15:30:59 +02:00
mp4decrypt Add files via upload 2024-07-14 15:30:59 +02:00
playplay Add files via upload 2024-07-14 15:30:59 +02:00
config_manager.py Add files via upload 2024-07-14 15:30:23 +02:00
id_type.py Add files via upload 2024-07-14 15:30:23 +02:00
LICENSE Initial commit 2024-07-14 15:28:38 +02:00
main.py Update main.py 2024-07-14 15:33:02 +02:00
playplay_pb2.py Add files via upload 2024-07-14 15:30:23 +02:00
playplay_pb2.pyi Add files via upload 2024-07-14 15:30:23 +02:00
README.md + Fixed getting access token 2025-03-16 09:50:52 +01:00
requirements.txt + Fixed getting access token 2025-03-16 09:50:52 +01:00
spotify.py + Bunch of fixes 2025-08-26 17:08:38 +02:00
token_manager.py + Fixed access token api url 2025-09-16 21:41:52 +02:00

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
  • MP4_***: Add a CDM in the cdm directory and mp4decrypt in the mp4decrypt 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