10/07/23 01:23:11 dIs0yWmo0
>>641
function getVideoDetail( url ) {
var craving = new CravingSiteScript();
var text = craving.getResponseText( url );
if ( text == null ) {
return null;
}
text.match( /<div id="mov_title">(.*?)<\/div>/ );
var title = RegExp.$1;
text.match( /SWFObject\("\.\/player(|_ro)\.swf\?mid=(.*?)&uid.*&d=(.*?)"/ );
var movieId = RegExp.$2;
var movieUrl = RegExp.$3;
var commentUrl = "URLリンク(mes2.nantokadoga.com)" + movieId + "&max=0&m=up";
text = craving.getResponseText( commentUrl );
if ( text == null ) {
return null;
}
text.match( /<documents.*max=".*" ud="(.*?)" ui="(.*?)" fn="(.*?)"/ );
var theUrl = RegExp.$1 + ':' + RegExp.$2 + ':movie:' + RegExp.$3;
var realUrl = movieUrl + '/getfile.php?ff=' + encodeURIComponent( theUrl );
return { videoTitle0: title, videoUrl0: realUrl };