求高手讲解下下面段JAVA代码应该如何分析
如果我想手动找出网站流媒体的真实地址应该怎么分析我正在听一首歌然后我想下载他但是网站是防盗链的所以我就看了下源文件看到如下代码<scripttype=text/javas...
如果我想手动找出网站流媒体的真实地址应该怎么分析
我正在听一首歌然后我想下载他但是网站是防盗链的所以我就看了下源文件
看到如下代码
<script type=text/javascript>menuFix();var doc_1 = "#playermenu .titlebar div";$(function(){$(doc_1).click(function(){$(doc_1).attr("class","n");$(this).attr("class","y");$("#playermenu .contents").hide();$("#playermenu_" + $(this).attr("id").split("_")[1]).show();});});
var autoplay = 1;
function mpPlayEnd() {
if (autoplay == 2) {
fmpObj.doPlay(fwqrp, fwqhp, danceFilePath)
} else {
location.href = "/play/" + nextid + ".html"
}
}
</script>
<script src="/js/play_ad.js"
我觉得地址在这句里fmpObj.doPlay(fwqrp, fwqhp, danceFilePath)
然后查看如下代码
<script type=text/javascript language=javascript>var Hotb="7";var wqid="101090";nextid='101089';var n ="Jokr And Sequnce-Zazdrsna(Extended Mix)-男DiscoPolo";fmpObj = "";var danceFilePath = "c7/2014/08/101090";function mpOnload(){fmpObj = FMP.get("fmp");fmpObj.doPlay(fwqrp, fwqhp, danceFilePath);}var imgUrl = 'http://www.vvvdj.com/images/logofx.jpg';var lineLink = 'http://www.vvvdj.com/play/101090.html';var descContent = "好音质来由 清风dj音乐网 www.vvvdj.com";var shareTitle = n;var appid = '';</script>
得到fmpObj.doPlay(fwqrp, fwqhp, danceFilePath);}和danceFilePath = "c7/2014/08/101090"
我又打开加载的js文件http://www.vvvdj.com/js/mpserver.js 得到
var fwqrp = "dj";var fwqhp = "tha";var fwq3g = "tm";
那么实际情况是真实地址不是
www.vvvdj.com/dj/tha/c7/2014/08/101090.mp3
那是什么 请大神赐教
“http://dp.vvvdj.com/dpin/0000000000938606900/1409077388/fc2d260ab5c994b7821ea1633dade98c/c7/2014/08/101095-David%20Guetta%20Skylar-She%20Shot%20Me%20Down-%E5%A5%B3ElectroMelbourne[www.vvvdj.com]ev72q.mp3”
得到的地址是这样的 到底是怎么算出来的呢 展开
我正在听一首歌然后我想下载他但是网站是防盗链的所以我就看了下源文件
看到如下代码
<script type=text/javascript>menuFix();var doc_1 = "#playermenu .titlebar div";$(function(){$(doc_1).click(function(){$(doc_1).attr("class","n");$(this).attr("class","y");$("#playermenu .contents").hide();$("#playermenu_" + $(this).attr("id").split("_")[1]).show();});});
var autoplay = 1;
function mpPlayEnd() {
if (autoplay == 2) {
fmpObj.doPlay(fwqrp, fwqhp, danceFilePath)
} else {
location.href = "/play/" + nextid + ".html"
}
}
</script>
<script src="/js/play_ad.js"
我觉得地址在这句里fmpObj.doPlay(fwqrp, fwqhp, danceFilePath)
然后查看如下代码
<script type=text/javascript language=javascript>var Hotb="7";var wqid="101090";nextid='101089';var n ="Jokr And Sequnce-Zazdrsna(Extended Mix)-男DiscoPolo";fmpObj = "";var danceFilePath = "c7/2014/08/101090";function mpOnload(){fmpObj = FMP.get("fmp");fmpObj.doPlay(fwqrp, fwqhp, danceFilePath);}var imgUrl = 'http://www.vvvdj.com/images/logofx.jpg';var lineLink = 'http://www.vvvdj.com/play/101090.html';var descContent = "好音质来由 清风dj音乐网 www.vvvdj.com";var shareTitle = n;var appid = '';</script>
得到fmpObj.doPlay(fwqrp, fwqhp, danceFilePath);}和danceFilePath = "c7/2014/08/101090"
我又打开加载的js文件http://www.vvvdj.com/js/mpserver.js 得到
var fwqrp = "dj";var fwqhp = "tha";var fwq3g = "tm";
那么实际情况是真实地址不是
www.vvvdj.com/dj/tha/c7/2014/08/101090.mp3
那是什么 请大神赐教
“http://dp.vvvdj.com/dpin/0000000000938606900/1409077388/fc2d260ab5c994b7821ea1633dade98c/c7/2014/08/101095-David%20Guetta%20Skylar-She%20Shot%20Me%20Down-%E5%A5%B3ElectroMelbourne[www.vvvdj.com]ev72q.mp3”
得到的地址是这样的 到底是怎么算出来的呢 展开
展开全部
danceFilePath = "c7/2014/08/101090"; 这个是文件的相对路径
www.vvvdj.com/dj/tha/c7/2014/08/101090.mp3
我觉得你猜的路径是很可能正确的,但是可能不那么准确,因为可以系统可以很方便的获取所在的当前路径,所以前面可能还是会有些文件夹什么的。至于后缀是不是MP3,这个也没获取到指定信息。
www.vvvdj.com/dj/tha/c7/2014/08/101090.mp3
我觉得你猜的路径是很可能正确的,但是可能不那么准确,因为可以系统可以很方便的获取所在的当前路径,所以前面可能还是会有些文件夹什么的。至于后缀是不是MP3,这个也没获取到指定信息。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询