Pretty easy to get the album and artist names, but for some reason the value of the a tag's href attribute is being loaded using javascript after the document is loaded.
So, instead I parsed the data on the #pagedata element to get not only the track title and artist name but also the artist and the album urls.
This implementation is fragile, so I added a test to match your others.
I took a stab at solving #35.
Pretty easy to get the album and artist names, but for some reason the value of the
a
tag'shref
attribute is being loaded using javascript after the document is loaded.So, instead I parsed the data on the #pagedata element to get not only the track title and artist name but also the artist and the album urls.
This implementation is fragile, so I added a test to match your others.
Best, Ian