Skip to content

Instantly share code, notes, and snippets.

@gbrauen
gbrauen / DumpPlaylistFromAlbumURL.py
Created April 7, 2019 22:48
Pyton script to create a xspf playlist of the songs from a Spotify album and write it to a specified file when given the link to the Spotify album.
#!/usr/bin/python3
#-*- coding: utf-8 -*-
"""
Dumps an xspf (xml schema) playlist for all of the songs in a spotify album
when given the spotify album's link (URL: from menu
"share" -> "Copy album link").
"""
import sys
import requests