Skip to content

Instantly share code, notes, and snippets.

View pe's full-sized avatar

Philippe Eberli pe

  • Switzerland
  • 09:40 (UTC +01:00)
View GitHub Profile
@pe
pe / loved.py
Created February 4, 2025 19:55
Import last.fm loved tracks to librebrainz
#! /usr/bin/env python
import pylast
import liblistenbrainz
LASTFM_USERNAME = "TODO"
LASTFM_PASSWORD = "TODO"
# https://www.last.fm/api/account/create
LASTFM_API_KEY = "TODO"
LASTFM_API_SECRET = "TODO"