I want to store the data received from http://www.youtube-mp3.org/a/itemInfo/?video_id=Vd85aPZ-QAE&ac=www&t=grp into a variable and access info.h.. i tried this
$.ajax({
async: false,
type: "GET",
url: "http://www.youtube-mp3.org/a/itemInfo/?video_id=Vd85aPZ-QAE&ac=www&t=grp",
dataType: "json",
success : function(info) {
xml = info.h;
alert(xml); // WORKS
}
});
but no success..
infoRehashCallback=function(){4==h.readyState&&("$$$ERROR$$$"==h.responseText?pushItemError():500==h.status?(error_count+=1,4<error_count&&pushItemMaintenance()):(eval(h.responseText),checkInfo()))};infoRehash=function(){var a=new Date;h=createRequestObject();a="http://www.youtube-mp3.org/a/itemInfo/?video_id="+video_id+"&ac=www&t=grp&r="+a.getTime();h.onreadystatechange=infoRehashCallback;h.open("GET",a,!0);hs(h);h.send(null)};
startInfoRehash=function(a){video_id=a;infoRehash();interval=window.setInterval("infoRehash()",1E3*interval_diff)};
i got this code from the website's javascript