Quote:
Originally Posted by jhb50
|
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)