gsteph / groove-dl

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

Empty stream key #14

Open frafra opened 11 years ago

frafra commented 11 years ago

Sometimes, when I try to listen I get this error: Retrieving stream key.. Failed

After some hours, it works. I use it a couple of times and then I get the same error.

gsteph commented 11 years ago

You get banned because you download too many songs. Reduce your usage and it should keep working

frafra commented 11 years ago

Opz, thank you. By the way, nice work. I ported easily the cli to Python 3 (using 2to3, BytesIO, and encode/decode from/to utf-8), because it seems that Python 2 has some problems with ssl prior to 1.0.

gsteph commented 11 years ago

tyvm :) Yes. It does. The problem was in openssl actually and I had to work around that issue by compiling Python with a newer/older version of openssl (for my py2exe package).

frafra commented 11 years ago

There's an explicit time limit? The program could auto suspend and resuming downloads according to it?

gsteph commented 11 years ago

I wish I could know. This is probably an internal value of theirs :/

frafra commented 11 years ago

It could be possible to set a timeout between downloads? Like 120 or 180 seconds? It could create a tmp file containing time.time() result, in order to know when the last download occurred.

koenieee commented 11 years ago

I still get 'failed' using this, I didn't even start downloading things.. Anyone have a solution?