Closed cohena closed 12 years ago
Just tested your code. It works fine. Have you downloaded the lastest version?
Yep, I just cloned from your repo last night. I wonder if this is somehow related to the newness of my account, it was just created yesterday.
I'm working on adding what.cd support to the Headphones project. The main project is at http://github.com/rembo10/headphones and my branch is at http://github.com/cohena/headphones under that what-search branch. I implemented most of it blind, and other users seem to be able to get past authentication.
I'm going to consult with Ajax (the user) on waffles, tonight, and see if there's something obvious I'm overlooking.
Aha, I found the source of my authentication problem. It turns out that the user authcode is not just hex values, as the regex searches for:
regauth = re.compile('=[0-9a-fA-F]+')
My authcode has the letters o, m, and q in it...I'm thinking that probably needs to be '=[0-9a-zA-Z]+'
Nice one. I'll fix it right away.
fixed and pushed
Hey, just tried testing out the API, and ran into a failure.