last.fm

Split URL in Python

Split URL in Python Question: So, I have this URL: https://www.last.fm/music/Limp+Bizkit/Significant+Other I want to split it, to only keep the Limp+Bizkit and Significant+Other part of the URL. These are variables, and can be different each time. These are needed to create a new URL (which I know how to do). I want the Limp+Bizkit and …

Total answers: 3

ElementTree findall() returning empty list

ElementTree findall() returning empty list Question: I am trying to write a small script for interacting with the last.fm API. I have a small bit of experience working with ElementTree, but the way I used it previously doesn’t seem to be working, it instead returns an empty list. I removed the API key as I …

Total answers: 1