Advertisement
Guest User

gsharkdown fix 07/2013

a guest
Jul 16th, 2013
1,230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.72 KB | None | 0 0
  1. --- a/lib/groove.py 2013-07-16 22:45:14.006899660 +0200
  2. +++ b/lib/groove.py 2013-07-16 22:46:52.814532776 +0200
  3. @@ -19,7 +19,7 @@
  4.  def dummy(error = None):
  5.      pass
  6.  
  7. -_referer = "http://grooveshark.com/JSQueue.swf?20120312.08"
  8. +_referer = "http://grooveshark.com/JSQueue.swf?20130520"
  9.  _token = None
  10.  _isInitialized = False
  11.  _initializingLock = threading.Lock()
  12. @@ -90,7 +90,7 @@
  13.      p["method"] = "getCommunicationToken"
  14.      p["header"] = h
  15.      p["header"]["client"] = "htmlshark"
  16. -    p["header"]["clientRevision"] = "20120312"
  17. +    p["header"]["clientRevision"] = "20130520"
  18.  
  19.      conn = createCurl("https://grooveshark.com/more.php?" + p["method"])
  20.      conn.setopt(pycurl.POST, True)
  21. @@ -120,8 +120,8 @@
  22.      p["parameters"]["query"] = query
  23.      p["header"] = h
  24.      p["header"]["client"] = "htmlshark"
  25. -    p["header"]["clientRevision"] = "20120312"
  26. -    p["header"]["token"] = prepToken("getResultsFromSearch", ":reallyHotSauce:")
  27. +    p["header"]["clientRevision"] = "20130520"
  28. +    p["header"]["token"] = prepToken("getResultsFromSearch", ":nuggetsOfBaller:")
  29.      p["method"] = "getResultsFromSearch"
  30.  
  31.      conn = createCurl("https://grooveshark.com/more.php?" + p["method"])
  32. @@ -158,8 +158,8 @@
  33.      p["parameters"]["country"] = h["country"]
  34.      p["header"] = h
  35.      p["header"]["client"] = "jsqueue"
  36. -    p["header"]["clientRevision"] = "20120312.08"
  37. -    p["header"]["token"] = prepToken("getStreamKeysFromSongIDs", ":circlesAndSquares:")
  38. +    p["header"]["clientRevision"] = "20130520"
  39. +    p["header"]["token"] = prepToken("getStreamKeysFromSongIDs", ":chickenFingers:")
  40.      p["method"] = "getStreamKeysFromSongIDs"
  41.  
  42.      conn = createCurl("https://grooveshark.com/more.php?" + p["method"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement