I'm trying to scrap Oddsportal live scores. It sends data via websocket connection. I got the data eventually, but it appears to be encoded & zipped.
Client/Javascripte does is the following:
data=data.replace(/^c__/,''); data=JXG.decompress(data)
JXG.decompress is defined as followed:
JXG.decompress = function(str) {return JXG.Util.RawUrlDecode((new JXG.Util.Unzip(JXG.Util.Base64.decodeAsArray(str))).unzip()[0][0]);};
Could anyone help please?