Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.3 KB

README.md

File metadata and controls

26 lines (22 loc) · 1.3 KB

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 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