影视CMS系统迅雷专用链下载插件(批量下载版)
效果图:以PPVOD1.8 PHP版影视系统为例
使用方法:打开tpl/default/pp_vod.html 将地址循环标签换成以下,并上传thunderBatch.js到当前模板目录下面(与style.css同级)
其他系统参与以下代码修改<script src="https://pstatic.code.com/js/webThunderDetect.js"></script>
<script src="https://pstatic.code.com/js/base64.js"></script>
<script type="text/javascript" src="{$tpl}thunderBatch.js" charset="utf-8"></script> 参考此调用代码<volist name="ppplay" id="ppvod">
<div id="datal"><dl class="tit"><dt>影片来源:{$ppvod.servername}{$ppvod.playname}</dt></dl>
<div class="vshow"><div class="vpl">
<eq name="ppvod.playname" value="down">
<table border="0" cellpadding="0" cellspacing="0"><script>
var GvodUrls="<volist name="ppvod['son']" id="ppvodson" key="k"><neq name="k" value="1">###</neq>{$ppvodson.playpath}</volist>";var GvodUrlArray = new Array();GvodUrlArray = GvodUrls.split("###");GvodUrlLen= GvodUrlArray.length;var j=0;
for(var i=0;i<GvodUrlLen;i++){
j++;
if (j==1){uclass = "class=post2";j=-1;}else{uclass="";}
document.write('<tr><td width="6%" '+uclass+'>'+(i+1)+'.<input type="checkbox" class="CopyAddr"checked="true" value="'+GvodUrlArray+'" name="CopyAddr" /></td><td width="84%" '+uclass+'>'+GvodUrlArray+'</td><td width="8%" align="center" '+uclass+'><a oncontextmenu=ThunderNetwork_SetHref(this) onclick="return OnDownloadClick_Simple(this,2,4)" href="#" thunderResTitle="" thunderType="" thunderPid="03682" thunderHref="' + ThunderEncode(GvodUrlArray) + '">迅雷下载</a></td></tr>');
}</script>
<tr><td align="left" colspan="3"><input type="checkbox" id="allcheck" name="checkall" checked="true" onClick="CheckAll()" checked /> <label for="checkall">全选</label> <input type="button" value="复制链接到剪贴板" class="button" onClick="CopyToClip()"/> <input type="button" value="迅雷批量下载" class="button" onClick="thunderBatchTask()"/></td></tr>
</table>
<else/>
<ul><volist name="ppvod['son']" id="ppvod"><a href="{$ppvod.playurl}" target="_blank">{$ppvod.playname}</a></volist></ul>
</eq>
</div></div>
</div>
</volist> 酒吧搭讪到一个极品气质大奶少妇 满脸绯红 衣服没脱就开操 看表情就射了 超诱惑
【影片格式】:MP4
【影片大小】:147M
【影片时间】:00:02:31
【影片说明】:无
在线观看地址:bxm5.pw
页:
[1]