gsteph / groove-dl

A Grooveshark song downloader in Python
http://gsteph.github.io/groove-dl/
120 stars 30 forks source link

KeyError: 'result' #16

Closed yasoob closed 11 years ago

yasoob commented 11 years ago

Traceback (most recent call last): File "", line 1, in File "", line 3, in get_me File "groove.py", line 64, in getToken _token = json.JSONDecoder().decode(gzip.GzipFile(fileobj=(StringIO.StringIO(conn.getresponse().read()))).read())["result"]

KeyError: 'result'

I got this error today while using groove-dl. I hope that you can fix this error.

gsteph commented 11 years ago

I hope so too. Grooveshark probably changed something again. Soon.

yasoob commented 11 years ago

so what are you going to do now. Are you going to update the script anytime soon ?

On Wed, May 29, 2013 at 7:55 PM, George Stephanos notifications@github.comwrote:

I hope so too. Grooveshark probably changed something again. Soon.

— Reply to this email directly or view it on GitHubhttps://github.com/jacktheripper51/groove-dl/issues/16#issuecomment-18622014 .

medthehatta commented 11 years ago

The JSON we get back from grooveshark says:

fault:
    message: invalid client
    code: 1024

:fearful:

yasoob commented 11 years ago

@medthehatta jacktheripper has corrected it. :+1: