Skip to content

Comments

Updated script with more data#7

Open
u1735067 wants to merge 8 commits intocaseychu:masterfrom
u1735067:master
Open

Updated script with more data#7
u1735067 wants to merge 8 commits intocaseychu:masterfrom
u1735067:master

Conversation

@u1735067
Copy link

Hi,

If you're interested, I modified @marpala 's fork (md output) and added more data in the output file :

  • Separate MD/Txt : new option for md format
  • Export more data : add profile, saved albums, saved tracks, collaborative playlists
  • Allow json indent : to have pretty output
  • Show export progression using dots, for big playlists (like tracks)
  • Todo : txt/MD output for all data

Thanks for you script, I can own my data now :)

Marco and others added 8 commits November 12, 2015 13:12
Separate MD/Txt : new option for format
Export more data : add profile, albums, tracks, collaborative playlists
Allow json indent : to have pretty output
Todo : txt/MD output for all data
Oh and it shows retreival progression.
With some materials from https://github.com/jnylen/spotify-backup, and thanks @Iristyle for the notification.
Assuming you saved in json, you can convert them with something like `py -3 .\spotify-backup.py -l .\spotify_2017-06-02.json -f xspf xspf_playlists_directory`
def list(self, url, params={}, root=''):
response = self.get(url, params, root=root)
items = response['items']
while response['next']:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we can tell how many pages we have in total, using tqdm might be nice (I don't think it'll work on a while loop though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants