dots


commit
f07cf8a
parent
88923b2
author
xxwhirlpool
date
2024-12-16 14:40:04 -0500 EST
remove dupe file, edit lastfm script variables
2 files changed,  +1, -5
D home/Scripts/charmbracelet_vhs/sl train.txt
+0, -4
1@@ -1,4 +0,0 @@
2-Set Theme "Catppuccin Frappe"
3-Type 'sl'
4-Enter
5-Sleep 15.5s
M home/Scripts/lastfm.py
+1, -1
1@@ -1,6 +1,6 @@
2 import urllib.request
3 import json
4-url = 'https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=${USER}&api_key=${USER}&format=json&limit=1'
5+url = 'https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=${USER}&api_key=${API_KEY}&format=json&limit=1'
6 req = urllib.request.Request(url)
7 
8 slay = urllib.request.urlopen(req).read()