spotify - vods

requirements

method

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