spotify - vods
requirements
method
- install the required programs and add them to your
PATH
- download the
spotify.py
script
- create a file named
input.txt
in the same directory as spotify.py
- open the video in your browser
- open the dev tools with F12, switch to the network tab and filter for
supports_drm
- right click the first entry, select
copy -> Copy response
, then paste the response into input.txt
- create and activate a python virtual environment in the same directory as
spotify.py
- install the required module
pip install requests
- run the script
python spotify.py
- use the generated
m3u8
file to download the vod
n-m3u8dl-re manifest/playlist.m3u8 --auto-select -mt -M mkv