Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/lib/groove.py 2013-07-16 22:45:14.006899660 +0200
- +++ b/lib/groove.py 2013-07-16 22:46:52.814532776 +0200
- @@ -19,7 +19,7 @@
- def dummy(error = None):
- pass
- -_referer = "http://grooveshark.com/JSQueue.swf?20120312.08"
- +_referer = "http://grooveshark.com/JSQueue.swf?20130520"
- _token = None
- _isInitialized = False
- _initializingLock = threading.Lock()
- @@ -90,7 +90,7 @@
- p["method"] = "getCommunicationToken"
- p["header"] = h
- p["header"]["client"] = "htmlshark"
- - p["header"]["clientRevision"] = "20120312"
- + p["header"]["clientRevision"] = "20130520"
- conn = createCurl("https://grooveshark.com/more.php?" + p["method"])
- conn.setopt(pycurl.POST, True)
- @@ -120,8 +120,8 @@
- p["parameters"]["query"] = query
- p["header"] = h
- p["header"]["client"] = "htmlshark"
- - p["header"]["clientRevision"] = "20120312"
- - p["header"]["token"] = prepToken("getResultsFromSearch", ":reallyHotSauce:")
- + p["header"]["clientRevision"] = "20130520"
- + p["header"]["token"] = prepToken("getResultsFromSearch", ":nuggetsOfBaller:")
- p["method"] = "getResultsFromSearch"
- conn = createCurl("https://grooveshark.com/more.php?" + p["method"])
- @@ -158,8 +158,8 @@
- p["parameters"]["country"] = h["country"]
- p["header"] = h
- p["header"]["client"] = "jsqueue"
- - p["header"]["clientRevision"] = "20120312.08"
- - p["header"]["token"] = prepToken("getStreamKeysFromSongIDs", ":circlesAndSquares:")
- + p["header"]["clientRevision"] = "20130520"
- + p["header"]["token"] = prepToken("getStreamKeysFromSongIDs", ":chickenFingers:")
- p["method"] = "getStreamKeysFromSongIDs"
- conn = createCurl("https://grooveshark.com/more.php?" + p["method"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement