pywrapped
spotify wrapped for the few youtube music users out there
Why?
End of year FOMO every time my friends post their Spotify wrapped
How?
I'm stubborn and like writing Python
Installation/configuration
- pip3 install -r requirements.txt
- Pay special attention to ytmusicapi; you need headers.json in order to download artist photos!
- Export the json from Google Takeout - you ONLY need YouTube/YouTube music!
- Git clone this repo
- Copy the export from step 1 into takeout/
- Relative path should be takeout/yourname.json
- Download a cool font or two and save the .ttf file(s) in font/
- Relative path should be font/fontname.otf
- Note, I Googled and downloaded Circular into font/CircularStd-Medium.otf and font/CircularStd-Book.otf
- Update the font config in pywrapped.py (lines 15 and 16) if your font filenames are different!
- python3 pywrapped.py takeout/yourname.json
- Images will output to img/output_unixtimestamp.png
Standard output
Fonts links (external)
Notes
- This is very similar to pyinstafest
- If there are bands/artists you don't want, simply add them to the filteredArtists list in settings.py