View Single Post
  #32  
Old 04-26-2014, 08:57 PM
sandy187 sandy187 is offline
Junior Member
 
Join Date: Jan 2013
Location: Caribbean
Posts: 16
sandy187 is on a distinguished road
Default

Re: dumping Ilive.to


Quote:
Originally Posted by jhb50 View Post
Well they have changed it to http://www.ilive.to/server2.php?id=1...=1398465212145
which displays the home page.
My former tools to access the token do not work.
Anyone know how to access the new token?
This is what I use: (N = "whatever stream page data/source code" as a string)
Code:
Url = Regex.Match(N, "getJSON([A-Za-z0-9\/:.?=-_]+)").Groups(1).Value & "&_=" & (DateTime.UtcNow - New DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds

Token = Regex.Match(GETWInfo(U_:=Url), "token:([A-Za-z0-9\/:.?=-_]+)").Groups(1).Value
URL gets the server address and assigns the timecode.
Token gets the "token" of course.
GETWInfo is a webclient function. (I use vb12)

Last edited by sandy187 : 04-27-2014 at 12:26 AM.
Reply With Quote