gsteph / groove-dl

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

get cookie via proxy #6

Open pausiert opened 12 years ago

pausiert commented 12 years ago

the script doesn't work in germany since the gema (representative of music publishers) forced to shut down grooveshark here good news: everythink works fine if you catch the cookie via proxy (like firefox plugin "grooveshark unlocker") simply change a few lines:

# SETTINGS
PROXY = False
HOST = example.com
PORT = 1234
# ...
def init():
    if PROXY:
        conn = httplib.HTTPConnection(HOST, PORT)
        conn.set_tunnel("grooveshark.com")
        conn.connect()
    else:
        conn = httplib.HTTPConnection("grooveshark.com")
# ...

cheers

gsteph commented 12 years ago

Could you please test the latest groove.py ? I've modified it to not need a cookie anymore. It goes straight to token. Should work in Germany too.