Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated script with more data #7

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

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={}):
response = self.get(url, params)
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