using the ListenBrainz's last.fm api results in errors
is there any problem with scraper.js ?
its trying to access an undefined object
alastairp
hm. perhaps lastfm changed their page layout. that’s unfortunate
are you trying on listenbrainz.org, or did you set up your own server?
armalcolite
i m using there website for now.
would setup server tomorrow :)
cant we use the lastfm api directly instead from scraping the page?
alastairp
there were some reasons why we didn't
but we’re starting to think about it again
armalcolite
should i go for lastfm api?
diana_olhovyk has quit
another benefit is the accuracy issue addressed in #LB-52 and #LB-87
kepstin
there apparently are still some issues with the last.fm api, but the track api needed to do imports works well enough, and they allow getting new application api keys. I'd say go for it :)
(i'd do it myself, but my track record on projects is pretty horrible)
alastairp
armalcolite: proposing a tool to use the lastfm api would be a good part of a listenbrainz project
it’s probably too small for a complete soc project though
armalcolite
yeah. i thought the same
i am trying to complete a bunh of issues on listenBrainz as well. :)
*bunch
kepstin: ok. will work on it.
alastairp
someone else was looking into it too
whoever that was, you should speak up :)
armalcolite
alastairp: by tool u mean, python, bash?
alastairp
perhaps?
armalcolite
alastairp: once i get comfortable with the api, then i would decide on what technology to use and let you know. Bookmarked it for tomorrow.
LordSputnik
armalcolite: alastairp: I have a Python script to pull track counts from the last.fm API
let me make sure it still works
JonnyJD joined the channel
Then you can probably fairly easily modify that to get individual scrobbles
armalcolite
also on issue LB-52 RobertKaye was kind enough and donated his ruby script.
LordSputnik: sounds good.
LordSputnik
armalcolite: RobertKaye = ruaok in here, in case you didn't know :)
probably doesn't need a user password, you can delete that line
Gentlecat
last.fm api: "Please keep a copy of these details, either by saving the page or taking a screenshot, as we don't currently provide the ability to look up accounts."
armalcolite
LordSputnik: i will look into it. :)
kepstin
Gentlecat: yep, lots of fun :) I still have a few old (pre-migration) api accounts which do show up on the api page, tho.
alastairp
kepstin: except if you logged out from the developer website
there’s no way of logging back in
still
kepstin
hmm. I'm... still logged in on the dev site :)
alastairp
yeah. never log out!
Gentlecat
save the cookie :)
kepstin
I have about 5 different last.fm cookies with session ids of various sorts :/