this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cache token between calls

+2 -1
+2 -1
backup.py
··· 10 10 #!/usr/bin/env python3 11 11 12 12 from typing import Literal 13 - from spotipy import Spotify, SpotifyOAuth 13 + from spotipy import Spotify, SpotifyOAuth, MemoryCacheHandler 14 14 from subprocess import run 15 15 from pathlib import Path 16 16 import re ··· 42 42 client_id=tokens["id"], 43 43 client_secret=tokens["secret"], 44 44 redirect_uri="http://localhost:8080", 45 + cache_handler=MemoryCacheHandler() 45 46 ) 46 47 ) 47 48