网上找地址
02.14.2007 by 春哥 - 0 CommentPosted in 未分类
经常碰到这样的问题:
偶然听到首好歌或是不错的MTV,就想下载下来。不过目前大多数网站都对媒体真实url进行了加密,怎样才能找到真实的歌曲或是mtv地址然后好下载下来呢,今天整理下:
1、mtv\rm\wma\mp3等是用realplayer或是mediaplayer播放的东东可以通过查询网页源文件,直接查找.mtv等,不过专业网站通过这种方式一般搞不定。
2、现在很多网站都是用脚本语言进行了简单的加密的。以这个为例http://www.591mtv.net/song.asp?id=5956
打开网;查看〉〉源文件;ctrl+f查询“双击图像即可全屏观看”(因为媒体在这行字下面,方便查找);看到[CODE_LITE]<IFRAME marginHeight=0 src=”591_rm.asp?3D3Fid=5956″ width=”640″ height=”480″ frameBorder=0 scrolling=no ></IFRAME>[/CODE_LITE]其中src后面就是地址了,即591_rm.asp?3D3Fid=5956,加上前面的,地址应该是http://www.591mtv.net/591_rm.asp?3D3Fid=5956,很显然这个不是最终地址;打开这个地址,发现还是个壳,是个播放器;再查看〉〉源文件;发现js脚本语言里面的播放器代码
[CODE_LITE]<SCRIPT LANGUAGE=’javascript’>
var mtv = ‘UUAuth/shi10//zjl_hjj.WMV ‘;
document.write (“<OBJECT id=MediaPlayer1 height=480 width=640 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95>”);
[FONT-COLOR=Blue]document.write (“<PARAM NAME=’Filename’ VALUE=” + nt_mtv + mtv + “>”);[/FONT-COLOR]
document.write (“<PARAM NAME=’ShowStatusBar’ VALUE=’1′>”);
document.write (“<PARAM NAME=’balance’ VALUE=’0′>”);
document.write (“<PARAM NAME=’currentPosition’ VALUE=’0′>”);
document.write (“<PARAM NAME=’defaultFrame’ VALUE=”>”);
document.write (“<PARAM NAME=’playCount’ VALUE=’3′>”);
document.write (“<PARAM NAME=’autoStart’ VALUE=’-1′>”);
document.write (“<PARAM NAME=’currentMarker’ VALUE=’0′>”);
document.write (“<PARAM NAME=’invokeURLs’ VALUE=’-1′>”);
document.write (“<PARAM NAME=’baseURL’ VALUE=”>”);
document.write (“<PARAM NAME=’volume’ VALUE=’100′>”);
document.write (“<PARAM NAME=’mute’ VALUE=’0′>”);
document.write (“<PARAM NAME=’uiMode’ VALUE=’full’>”);
document.write (“<PARAM NAME=’stretchToFit’ VALUE=’0′>”);
document.write (“<PARAM NAME=’windowlessVideo’ VALUE=’0′>”);
document.write (“<PARAM NAME=’enabled’ VALUE=’-1′>”);
document.write (“<PARAM NAME=’enableContextMenu’ VALUE=’0′>”);
document.write (“<PARAM NAME=’fullScreen’ VALUE=’0′>”);
document.write (“<PARAM NAME=’SAMIStyle’ VALUE=”>”);
document.write (“<PARAM NAME=’SAMILang’ VALUE=”>”);
document.write (“<PARAM NAME=’SAMIFilename’ VALUE=”>”);
document.write (“<PARAM NAME=’captioningID’ VALUE=”>”);
document.write (” </object>”);
</SCRIPT>[/CODE_LITE]
而其中document.write (“<PARAM NAME=’Filename’ VALUE=” + nt_mtv + mtv + “>”);这行就是指定媒体文件地址的,他是由nt_mtv和mtv这两个变量来组成的,mtv变量可以在源文件中看到它的定义var mtv = ‘UUAuth/shi10//zjl_hjj.WMV,而nt_mtv却找不到;再看看这个页面有没有包含其他的js文件;发现有这个style.js,下载下来http://www.591mtv.net/style.js;用记事本打开,发现nt_mtv变量值为http://www.591mtv.net:3721/123mtv123/
所以最终地址为http://www.591mtv.net:3721/123mtv123/UUAuth/shi10/zjl_hjj.WMV
不过好像用flashget弄不下来,到可以用mediaplayer在线播放。待进一步研究了
3、flv文件,推荐用软件
http://w1.91zc.com/hobby/soft/flv地址探测、下载、播放器.rar
ps:百度上一篇文章不错,待研究http://zhidao.baidu.com/question/19304058.html